nerfstudio-project / nerfstudio

A collaboration friendly studio for NeRFs
https://docs.nerf.studio
Apache License 2.0
8.87k stars 1.18k forks source link

force setuptools version in Dockerfile #3241

Closed jakepopham closed 1 week ago

jakepopham commented 1 week ago

Docker container fails to build on main since setuptools released v70.0.0

Repro:

sudo docker build --tag nerfstudio -f Dockerfile .
...
ImportError: cannot import name 'packaging' from 'pkg_resources' 

Fix:

Force setuptools to be strictly less than v70 in the Dockerfile, and it builds correctly.

jakepopham commented 1 week ago

Side note: I think the numpy 2.0 release broke some tests.

jakepopham commented 1 week ago

duplicate of https://github.com/nerfstudio-project/nerfstudio/pull/3218