-
Notifications
You must be signed in to change notification settings - Fork 480
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
Can't install the requirements! #494
Comments
I got the similar error. Try this:
|
Didn't work for me ... zetrix@Zetrix:/mnt/d/git/threestudio$ pip install -r requirements.txt
Defaulting to user installation because normal site-packages is not writeable
Collecting git+https://github.com/KAIR-BAIR/[email protected] (from -r requirements.txt (line 5))
Cloning https://github.com/KAIR-BAIR/nerfacc.git (to revision v0.5.2) to /tmp/pip-req-build-n01jnbte
Running command git clone --filter=blob:none --quiet https://github.com/KAIR-BAIR/nerfacc.git /tmp/pip-req-build-n01jnbte
Running command git checkout -q d84cdf3afd7dcfc42150e0f0506db58a5ce62812
Resolved https://github.com/KAIR-BAIR/nerfacc.git to commit d84cdf3afd7dcfc42150e0f0506db58a5ce62812
Running command git submodule update --init --recursive -q
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [8 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-req-build-n01jnbte/setup.py", line 123, in <module>
ext_modules=get_extensions() if not BUILD_NO_CUDA else [],
File "/tmp/pip-req-build-n01jnbte/setup.py", line 27, in get_extensions
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. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Trying installing the
requirements.txt
using WSL2, I ran to an issue:I checked the txt and I think link of the
nerfacc
module's link might be broken:git+https://github.com/KAIR-BAIR/[email protected]
It's not a valid URL.
The text was updated successfully, but these errors were encountered: