torchdrug
torchdrug copied to clipboard
torchdrug can't be installed on modern releases of python (i.e., py39 and py310)
Currently, there's a limitation on the versions of Python on which torchdrug can be installed
https://github.com/DeepGraphLearning/torchdrug/blob/278bcc8cba914d562bd84d749833f2d67a6c11c1/setup.py#L43
I'm not sure why this is here - most of its dependencies are version agnostic.
Hi! I am not sure if I recall the reason correctly. I guess it's the metaclass (e.g. core.Configurable) we used in the codebase may not be compatible with python 3.9. Maybe we need to dig into python 3.9 to see what's the new mechanism for metaclass.
same situation here. The incompatibility issue make it hard to integrate torchDrug into the workflow. Also, TorchDrug could influence other packages outside the typical scope of a package. For example, the default behavior of logging class is changed after import torchdrug.
Same here. Would be nice if torchdrug can live with newer python. Hope also the newer protein library can be compatible too!
Same situation when I used Python 3.10. It will be nice to support new python version
+1
Any progress on this? I would like to use torchdrug bug I cannot use a version of python earlier than 3.10 in my current project.
Any progress on this? I would like to use torchdrug bug I cannot use a version of python earlier than 3.10 in my current project.
Same issue here +1
Installing from source seems to work
git clone https://github.com/DeepGraphLearning/torchdrug
cd torchdrug
pip install -r requirements.txt
python setup.py install
Also, you can override the python requirement and install the github version
pip install --ignore-requires-python git+https://github.com/DeepGraphLearning/torchdrug