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

Unable to install tiny-cuda-nn in ubuntu 24.04 #3426

Open
vasl12 opened this issue Sep 13, 2024 · 1 comment
Open

Unable to install tiny-cuda-nn in ubuntu 24.04 #3426

vasl12 opened this issue Sep 13, 2024 · 1 comment

Comments

@vasl12
Copy link

vasl12 commented Sep 13, 2024

I am trying to install nerfstudio in ubuntu 24.04 using cuda 11.8 and python 3.8.
It seems I am always running into issues while trying to install tiny-cuda-nn (see below).
I have tried different python versions along with cuda 12.6, but I have not managed to resolve the issue.
Has anyone else encountered this?

`(nerfstudio) user@workstation:~$ pip install ninja git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch
Collecting git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch
Cloning https://github.com/NVlabs/tiny-cuda-nn/ to /tmp/pip-req-build-d_yk1qvn
Running command git clone --filter=blob:none --quiet https://github.com/NVlabs/tiny-cuda-nn/ /tmp/pip-req-build-d_yk1qvn
Resolved https://github.com/NVlabs/tiny-cuda-nn/ to commit c91138bcd4c6877c8d5e60e483c0581aafc70cce
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
╰─> [1 lines of output]
ERROR: Can not execute setup.py since setuptools is not available in the build environment.
[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.
`

@vasl12
Copy link
Author

vasl12 commented Sep 16, 2024

It looks like the problem is installing in Ubuntu 24.04. I have successfully installed nerfstudio in ubuntu 22.04. Is there any plan for supporting the latest lts ubuntu and/or cuda 12?

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