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

[BUG] another local installation problem from openfold: ModuleNotFoundError: No module named 'scripts' . #6

Open
rytakahashi opened this issue May 13, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@rytakahashi
Copy link

rytakahashi commented May 13, 2024

I had the same issue #2, however, when I installed torch+cu117 manually,

pip install -U torch==2.0.0+cu117 torchtext==0.15.1 --extra-index-url https://download.pytorch.org/whl/cu117

this problem was gone.

However, now, I am seeing the different problem,

pip install alphafold3
Collecting alphafold3
  Using cached alphafold3-0.0.4-py3-none-any.whl.metadata (4.9 kB)
Collecting einops (from alphafold3)
  Using cached einops-0.8.0-py3-none-any.whl.metadata (12 kB)
Collecting openfold (from alphafold3)
  Using cached openfold-0.0.1.tar.gz (164 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [6 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-8nl_52c_/openfold_e8ccf631ed2748ad8eff0a1e6a8da60b/setup.py", line 21, in <module>
          from scripts.utils import get_nvidia_cc
      ModuleNotFoundError: No module named 'scripts'
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

with python3.10 (or higher version) showing up when I try to install openfold alone.

Many Thanks,

Upvote & Fund

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar
@rytakahashi rytakahashi added the bug Something isn't working label May 13, 2024
Copy link

Hello there, thank you for opening an Issue ! 🙏🏻 The team was notified and they will get back to you asap.

@rytakahashi
Copy link
Author

ah, sorry, never mind.

pip install -r requirements.txt 

solved the problem,

Many thanks,

@colbyford
Copy link
Contributor

If others have this issue that won't resolve by installing from the requirements.txt file, you can also install a newer version from GitHub with pip:

pip install git+https://github.com/aqlaboratory/openfold

(The issue is due to the fact that the openfold PyPI entry only has v0.0.1 available to pip install.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants