FileNotFoundError: [Errno 2] No such file or directory:
I have successfully installed viser by following the instructions below:
Install the package.
git clone https://github.com/nerfstudio-project/viser.git cd ./viser pip install -e .
Run an example.
pip install -e .[examples] python ./examples/02_gui.py
but when I run python ./examples/02_gui.py, it occur some question as follow, I suggest it maybe the version of viser caused. Can you give me some advice? Thank you very much!
Hi, sorry for the delayed response! Just got past some deadlines and still catching up on things.
Unfortunately this seems like a nodeenv issue; I haven't seen it before so don't have ideas for fixing the root problem. You could file an issue upstream.
As workarounds:
nodeenvis only used for development installs; it's not required ifviseris installed frompip/pypi. But this might not be an option if you're using a forked version ofviser.nodeenvwill also be skipped if you build the client manually. You can install nodejs/yarn, cd into/src/viser/client/, and runyarn && yarn build.
@brentyi Thanks for your reply! This is the problem with nodeenv. When I changed a server, it successfully running.
Hello, thank you very much for your question and the author's answer. I have successfully installed it in the Win10 system and shared it with those in need. May I ask if this step is the same as your successful step? cd ./viser pip install -e . pip install -e .[examples] python ./examples/02_gui.py At this point, an error will be reported
You continue to execute the following command: cd ./src/viser/client/ npm install --global yarn yarn yarn build