New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImportError: cannot import name 'MultiDatasetClassify' #60
Comments
Hi, it seems the pyradigm package was not installed properly. Could you try the following on the command line:
Also, I would try use If you run into further issues, please copy/paste the full command line output, including the command and everything after. Thanks. |
Okay I've tried these suggestions and I'm getting the same error. Here's the entire output. $ neuropredict_classify -m ~/Documents/NeuroPredict/meta_data.csv -o ~/Documents/NeuroPredict/results/ —user_feature_paths ~/Documents/NeuroPredict/face/ ~/Documents/NeuroPredict/cnlg/ ~/Documents/NeuroPredict/glmn/ ~/Documents/NeuroPredict/cnsr/ ~/Documents/NeuroPredict/bimndir ~/Documents/NeuroPredict/bimnemo/ ~/Documents/NeuroPredict/msep/ -t 0.8 -n 20 -g ‘light’ Thanks. |
interesting - can you try these :
and then
and let me know the output? |
$ neuropredict -v $ pyradigm -h positional arguments: optional arguments: Options for multiple datasets: |
that's strange - this might be an issue with cache copies of old installations. Can you try these commands, and let me know the entire output you get? Also, which operating system are you using?
|
let me know the python version are you using with this command: |
Hold on - looks like I can reproduce the error here - let me get back to you on this |
Hi @cpappas18, I fixed few install-related issues and re-released the related packages. Can you try these, and let me know the output:
if you see the last command print a large amount of text without an error at the end, then it's all in order and you can try your original command with features etc. |
It's working now, thank you! |
Great to hear that. Sorry you ran into these issues, and thanks for reporting the bug. |
Were you able to obtain and follow the results, and use them as you needed, Chloe? |
Yes it all worked for me, thank you. |
Very glad to hear that. I'd appreciate if you could cite this software in your paper(s): https://raamana.github.io/neuropredict/citation.html |
Hi,
When I try to run neuropredict on the command line using
neuropredict -m ~/NeuroPredict/meta_data.csv -o ~/NeuroPredict/results/ --user_feature_paths ~/NeuroPredict/face/ ~/NeuroPredict/cnlg/ ~/NeuroPredict/glmn/ ~/NeuroPredict/cnsr/ ~/NeuroPredict/bimndir/ ~/NeuroPredict/bimnemo/ ~/NeuroPredict/msep/ -t 0.8 -n 20 -g 'light'
I get the error that
ImportError: cannot import name 'MultiDatasetClassify' from 'pyradigm.multiple'
It appears that the multiple.py file that I've downloaded does not match the current version that is in your pyradigm repository. I installed it just now though, using pip3 install neuropredict. Do you know why I am getting this problem?
Thanks
The text was updated successfully, but these errors were encountered: