-
Notifications
You must be signed in to change notification settings - Fork 203
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
Installation from source fails #112
Comments
Hi! I am afraid that we won't sacrifice pip for conda, as the statistics turns out that more people install TorchDrug from pip than conda 😅. I also don't recommend mixing pip in conda, since it can sometimes break the environment. Regarding your question, it's because |
Hi, thanks for your answer @KiddoZhu!
Yes, I agree mixing pip and conda may generate some issues. I still would suggest to consider having a
I think this information although present in the documentation is not entirely clear. The instructions to install from source are limited to this section, where the instruction to install torch scatter from source according to the version of cuda are not entirely clear. Would it be possible to add this information? Maybe it's just me, but it wasn't clear before reading your reply. |
When running
pip install requirements.txt
I get:OS specs
OS: Linux pop-os x86_64 GNU/Linux
Python version: 3.8, 3.9, 3.10 (I tried all of them)
Possible solution
Since installation of RDKIT is recommended via conda, I was wondering if is possible to modify
requirements.txt
to make it arequirements.yaml
, with a section for conda and pip, then it is possible to create a conda environment together with the pip dependencies needed. Then, instead ofpip install requirements.txt
, one could do:Maybe it's possible to have two files, one that works for
Python 3.10
, and another that works forPython = [3.7, 3.8, 3.9]
(based on the version of torch).Edit: typos.
The text was updated successfully, but these errors were encountered: