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

Request to specify exact versions of dependencies in requirements.txt #26

Open
abhishek47kashyap opened this issue Feb 2, 2024 · 0 comments

Comments

@abhishek47kashyap
Copy link

(duplicate of #20, not sure why was it closed without resolution)

Since requirements.txt does not contain version information (except for pybullet==2.7.9), all the latest versions get pulled and that seemingly causes problems like ModuleNotFoundError during the installation process:

Error message
Downloading torch-2.2.0-cp310-cp310-manylinux1_x86_64.whl.metadata (25 kB)
Collecting tensorflow (from -r requirements.txt (line 2))
Downloading tensorflow-2.15.0.post1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.2 kB)
Collecting easydict (from -r requirements.txt (line 3))
Downloading easydict-1.11.tar.gz (6.6 kB)
Preparing metadata (setup.py) ... done
Collecting inplace-abn (from -r requirements.txt (line 4))
Downloading inplace-abn-1.1.0.tar.gz (137 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 137.3/137.3 kB 26.9 MB/s eta 0:00:00
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-tr9ie4sl/inplace-abn_3a830128b02841758f85c9c46caddafc/setup.py", line 4, in <module>
        import torch
    ModuleNotFoundError: No module named 'torch'
    [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.

Also, specifying which python version to use would be helpful as well. 🙂

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