Skip to content
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

Higher Python version compatibility #20

Open
xuchunqiu opened this issue Aug 8, 2023 · 1 comment
Open

Higher Python version compatibility #20

xuchunqiu opened this issue Aug 8, 2023 · 1 comment

Comments

@xuchunqiu
Copy link

If anyone else want to run rxnfp on a higher Python version (for me its 3.9), the only thing you need to do is install rxnfp with --no-deps:

conda create -n rxnfp python=3.9 -y
conda activate rxnfp
pip install rxnfp==0.1.0 --no-deps
pip install scipy torch tqdm transformers rdkit  # enough for gen fingerprint

# some error message when installing, obviously you need other packages to draw reaction atlas
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
rxnfp 0.1.0 requires faerun==0.3.20, which is not installed.
rxnfp 0.1.0 requires matplotlib==3.2.2, which is not installed.
rxnfp 0.1.0 requires scikit-learn==0.23.1, which is not installed.
rxnfp 0.1.0 requires scipy==1.4.1, but you have scipy 1.11.1 which is incompatible.

The main problem here is the compatibility of scipy==1.4.1 with python=3.9. Full error message has been mentioned at intel/dffml/issues/1334.

@AslantheAslan
Copy link

Thanks a lot, it worked well!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants