ayaanzhaque / instruct-nerf2nerf

Instruct-NeRF2NeRF: Editing 3D Scenes with Instructions (ICCV 2023)
https://instruct-nerf2nerf.github.io/
MIT License
769 stars 64 forks source link

Installation problem in nerfstudio docker #8

Closed flyingshan closed 1 year ago

flyingshan commented 1 year ago

Hello, I installed the nerfstudio environment using the official docker image. And I am trying to install Instruct-nerf2nerf inside the container. When I entered "pip install -e .", the following error occured:


Defaulting to user installation because normal site-packages is not writeable Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple Obtaining file:///home/user/instruct-nerf2nerf-main Installing build dependencies ... done Checking if build backend supports build_editable ... done Getting requirements to build editable ... error error: subprocess-exited-with-error

× Getting requirements to build editable did not run successfully. │ exit code: 1 ╰─> [4 lines of output] /tmp/pip-build-env-icvf7y21/overlay/local/lib/python3.10/dist-packages/setuptools/config/pyprojecttoml.py:108: _BetaConfiguration: Support for [tool.setuptools] in pyproject.toml is still beta. warnings.warn(msg, _BetaConfiguration) running egg_info error: Cannot update time stamp of directory 'in2n.egg-info' [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error

× Getting requirements to build editable did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.


It seems that I do not have the root authority inside the container, so I can not creating some files in the paths. When I use 'sudo pip install -e .', the python dependencies disappear. How can I solve this?

flyingshan commented 1 year ago

solved