-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Hi,
I am trying to run a protocol inspired by the example20_protein_demo.ipynb for a few backbones. I followed the instructions provided in installation but not all requirements are readily available.
For example, if I try to import proteinsolver
import proteinsolver
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/projects/p31346/cassie/proteinsolver/proteinsolver/__init__.py", line 4, in <module>
from . import *
File "/projects/p31346/cassie/proteinsolver/proteinsolver/utils/__init__.py", line 3, in <module>
from .scatter import *
File "/projects/p31346/cassie/proteinsolver/proteinsolver/utils/scatter.py", line 1, in <module>
import torch_geometric
ModuleNotFoundError: No module named 'torch_geometric'
If I import torch_geometric
pip install torch_geometric
and then try to import protein solver again
import proteinsolver
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/projects/p31346/cassie/proteinsolver/proteinsolver/__init__.py", line 4, in <module>
from . import *
File "/projects/p31346/cassie/proteinsolver/proteinsolver/utils/__init__.py", line 3, in <module>
from .scatter import *
File "/projects/p31346/cassie/proteinsolver/proteinsolver/utils/scatter.py", line 1, in <module>
import torch_geometric
File "/home/ajf4103/anaconda3/envs/proteinsolver/lib/python3.7/site-packages/torch_geometric/__init__.py", line 4, in <module>
import torch_geometric.data
File "/home/ajf4103/anaconda3/envs/proteinsolver/lib/python3.7/site-packages/torch_geometric/data/__init__.py", line 1, in <module>
from .data import Data
File "/home/ajf4103/anaconda3/envs/proteinsolver/lib/python3.7/site-packages/torch_geometric/data/data.py", line 9, in <module>
from torch_sparse import SparseTensor
ModuleNotFoundError: No module named 'torch_sparse'
When I try to install torch_sparse, I find a major error that I couldn't solve:
Collecting torch_sparse
Using cached torch_sparse-0.6.14.tar.gz (51 kB)
Preparing metadata (setup.py) ... done
... many lines ...
error: command 'gcc' failed with exit status 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> torch_sparse
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
Would it be possible to provide the packages along with their versions as a requirement file to be installed?
Thanks,
Állan
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels