AlphaFold3 icon indicating copy to clipboard operation
AlphaFold3 copied to clipboard

[BUG] Problems with local install

Open partrita opened this issue 9 months ago • 1 comments

Describe the bug Problems with local install.

To Reproduce Steps to reproduce the behavior:

❯ 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)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [17 lines of output]
      Traceback (most recent call last):
        File "/media/fkt/82c1c9f8-5b60-449e-b3b1-2710aabe45ee/learn_AF3/venv/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
        File "/media/fkt/82c1c9f8-5b60-449e-b3b1-2710aabe45ee/learn_AF3/venv/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "/media/fkt/82c1c9f8-5b60-449e-b3b1-2710aabe45ee/learn_AF3/venv/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
        File "/tmp/pip-build-env-8x0rxkos/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=['wheel'])
        File "/tmp/pip-build-env-8x0rxkos/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires
          self.run_setup()
        File "/tmp/pip-build-env-8x0rxkos/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 487, in run_setup
          super().run_setup(setup_script=setup_script)
        File "/tmp/pip-build-env-8x0rxkos/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 311, in run_setup
          exec(code, locals())
        File "<string>", line 19, in <module>
      ModuleNotFoundError: No module named 'torch'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

Since I saw the ModuleNotFoundError: No module named 'torch' massage, I checked it but torch is already installed.

❯ pip list
Package                  Version
------------------------ ----------
filelock                 3.14.0
fsspec                   2024.3.1
Jinja2                   3.1.4
MarkupSafe               2.1.5
mpmath                   1.3.0
networkx                 3.3
nvidia-cublas-cu12       12.1.3.1
nvidia-cuda-cupti-cu12   12.1.105
nvidia-cuda-nvrtc-cu12   12.1.105
nvidia-cuda-runtime-cu12 12.1.105
nvidia-cudnn-cu12        8.9.2.26
nvidia-cufft-cu12        11.0.2.54
nvidia-curand-cu12       10.3.2.106
nvidia-cusolver-cu12     11.4.5.107
nvidia-cusparse-cu12     12.1.0.106
nvidia-nccl-cu12         2.20.5
nvidia-nvjitlink-cu12    12.4.127
nvidia-nvtx-cu12         12.1.105
pip                      24.0
setuptools               65.5.0
sympy                    1.12
torch                    2.3.0
triton                   2.3.0
typing_extensions        4.11.0

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

partrita avatar May 10 '24 02:05 partrita

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

github-actions[bot] avatar May 10 '24 02:05 github-actions[bot]

Stale issue message

github-actions[bot] avatar Sep 07 '24 12:09 github-actions[bot]