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

Problem with installing nerfstudio #3584

Open
cbxuu opened this issue Jan 31, 2025 · 4 comments
Open

Problem with installing nerfstudio #3584

cbxuu opened this issue Jan 31, 2025 · 4 comments

Comments

@cbxuu
Copy link

cbxuu commented Jan 31, 2025

When i am installing nerfstudio with pip install nerfstudio, in the end the error comes as below:

Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
Collecting nerfstudio
Downloading nerfstudio-1.1.5-py3-none-any.whl.metadata (24 kB)
Collecting appdirs>=1.4 (from nerfstudio)
Downloading appdirs-1.4.4-py2.py3-none-any.whl.metadata (9.0 kB)
Collecting av>=9.2.0 (from nerfstudio)
Downloading av-12.3.0-cp38-cp38-win_amd64.whl.metadata (4.7 kB)
Collecting comet-ml>=3.33.8 (from nerfstudio)
Downloading comet_ml-3.48.1-py3-none-any.whl.metadata (3.8 kB)
Collecting cryptography>=38 (from nerfstudio)
Downloading cryptography-44.0.0-cp37-abi3-win_amd64.whl.metadata (5.7 kB)
...
...
Collecting pywinpty>=2.0.1 (from jupyter-server<3,>=2.4.0->jupyterlab>=3.3.4->nerfstudio)
Downloading pywinpty-2.0.14.tar.gz (27 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error

× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [6 lines of output]

  Cargo, the Rust package manager, is not installed or is not on PATH.
  This package requires Rust and Cargo to compile extensions. Install it through
  the system's package manager or via https://rustup.rs/

  Checking for Rust toolchain....
  [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.

Can anyone help with me please? Thanks so much!

@Sk47R
Copy link

Sk47R commented Feb 4, 2025

All you need to do is install rust from this link https://rustup.rs/
Then execute the exe file and it should work.

@LucasRxTx
Copy link

This bit me as well. It would be nice to have it in the install instructions.

@Renbry
Copy link

Renbry commented Feb 6, 2025

GOSH! Thank you for this. I was stumped across several machines. I've always found the instructions leave out details and spend a lot of time cross-referencing information (that I assume we're supposed to know) and so have formulated my own instructions I'm forced to keep handy for updating/maintenance.

Thank you again!

@cbxuu
Copy link
Author

cbxuu commented Feb 8, 2025

All you need to do is install rust from this link https://rustup.rs/ Then execute the exe file and it should work.

Thanks a billion, it works.

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

4 participants