nerfstudio icon indicating copy to clipboard operation
nerfstudio copied to clipboard

Runtime Error on Installation

Open jeffreyianwilson opened this issue 1 year ago • 1 comments

Describe the bug Runtime Error on Installation

Dependency Installation when running this commands pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 -f https://download.pytorch.org/whl/torch_stable.html pip install git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch

I have Visual Studio 2022 Installed.

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 "", line 2, in File "", line 34, in File "C:\Users\jeffr\AppData\Local\Temp\pip-req-build-mln5_7ks\bindings/torch\setup.py", line 52, in raise RuntimeError("Could not locate a supported Microsoft Visual C++ installation") RuntimeError: Could not locate a supported Microsoft Visual C++ installation Building PyTorch extension for tiny-cuda-nn version 1.6 Obtained compute capability 86 from PyTorch [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.

jeffreyianwilson avatar Oct 06 '22 15:10 jeffreyianwilson

This looks like an issue with installing tiny-cuda-nn. You could try installing a local clone of the tcnn repo,

git clone https://github.com/NVlabs/tiny-cuda-nn.git
cd bindings/torch
python setup.py install

If that doesn't work, I'd recommend filing an issue in their repo.

tancik avatar Oct 08 '22 01:10 tancik