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

Provide requirements list #3

Open
ajrferrari opened this issue Jul 8, 2022 · 0 comments
Open

Provide requirements list #3

ajrferrari opened this issue Jul 8, 2022 · 0 comments

Comments

@ajrferrari
Copy link

ajrferrari commented Jul 8, 2022

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

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

1 participant