You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A minimal code snippet that reproduces the bug : uv pip install git+https://github.com/nerfstudio-project/gsplat
File "<string>", line 152, in <module>
File "<string>", line 33, in get_extensions
ModuleNotFoundError: No module named 'torch'
---
Caused by: This error likely indicates that git+https://github.com/nerfstudio-project/gsplat depends on torch, but doesn't declare it as a build dependency. If git+https://github.com/nerfstudio-project/gsplat is a first-party package, consider adding torch to its `build-system.requires`. Otherwise, `uv pip install torch` into the environment and re-run with `--no-build-isolation`.
However when using pip with pip install git+https://github.com/nerfstudio-project/gsplat
Everything installs correctly!
Ofcourse when I install torch and use --no-build-isolation then uv installs it as well.
I think that uv fails to install build dependencies from setup.py (install-requires).
I am python build tool newbie, it could be that I am somehow mistaken
The text was updated successfully, but these errors were encountered:
uv pip install git+https://github.com/nerfstudio-project/gsplat
pip install git+https://github.com/nerfstudio-project/gsplat
Everything installs correctly!
Ofcourse when I install torch and use --no-build-isolation then uv installs it as well.
I think that uv fails to install build dependencies from setup.py (install-requires).
I am python build tool newbie, it could be that I am somehow mistaken
The text was updated successfully, but these errors were encountered: