-
Notifications
You must be signed in to change notification settings - Fork 12
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 'cached_property' from 'functools' #61
Comments
@AnyaKovalenko Can you upgrade your python to 3.8 or after? The cached_property seems introduced at 3.8. If still unresolved, can you provide the draft genome for us to debug? |
Hi @ythuang0522 thank you. I updated python to 3.8 and this helped. But now another error <'ModuleNotFoundError: No module named 'sklearn.svm.classes'>, please see below.
Please can you help how to deal with this. Many thanks! Very looking forward to hearing from you. |
@ythuang0522 what is the best way to send you the draft genome? can you share your email and I will send through it? thank you |
I think the scikit-learn versions used in model and program loading it are different. Isn't it? |
Yes. You should use the conda virtual env as the scikit-learn model cannot be used in some versions. Did you use the recommended conda env |
Many thanks @ythuang0522 I sent the genomes. |
Hi ! |
@Mossy-Frog thank you so much! It's never too late :) |
Hi @Mossy-Frog I used these and still have an issue. So now the error: |
okay, finally it was figured out! Just run : |
Huh, weird, I do not have this issue at all, I wonder what causes this ? |
#62 Similar to my experience too. Can the README be updated? |
We found several issues associated with the Python version as well as outdated packages in the conda-forge channel.
We have updated the installation instructions in README according to the issues we have found. Thanks for all the feedback. |
Great, thanks. Will give it a go. Perhaps the inclusion of some test data can mean we can run the tool on the same data and test just the environment rather than the data+enviornment together. Will be very helpful for new users to ensure their install/conda env works. |
I am still having troubles with this, many parts of the files contain errors in my env, due to wrong package versions. Can you post your environment? (conda env export)
|
Dear Community,
please can you help with the following issue: <ImportError: cannot import name 'cached_property' from 'functools'>. Please see bellow:
Has anyone faced with the same issue? please help me to find out how to resolve this. Many thanks and very looking forward to receiving the feedback! Best wishes!
The text was updated successfully, but these errors were encountered: