diff --git a/README.md b/README.md index fc8a7e390..f43611e4c 100644 --- a/README.md +++ b/README.md @@ -73,6 +73,7 @@ git clone git@github.com:plenoptix/nerfactory.git # Install dependencies and nerfactory as a library cd nerfactory +python -m pip install --upgrade pip pip install -e . # Install tiny-cuda-nn (tcnn) and apex to use with the graph_instant_ngp.yaml config diff --git a/docs/tutorials/quickstart.md b/docs/tutorials/quickstart.md index d8a46f61f..26f176670 100644 --- a/docs/tutorials/quickstart.md +++ b/docs/tutorials/quickstart.md @@ -34,15 +34,10 @@ git clone git@github.com:plenoptix/nerfactory.git Install dependencies and nerfactory as a library ```bash +python -m pip install --upgrade pip pip install -e . ``` -Install library with CUDA development support. Change setup.py to `USE_CUDA = True` and then - -```bash -python setup.py develop -``` - Install tiny-cuda-nn (tcnn) to use with the graph_instant_ngp.yaml config ```bash @@ -122,3 +117,16 @@ While installing tiny-cuda, you run into: `The detected CUDA version mismatches ``` pip install torch==1.11.0+cu113 torchvision==0.12.0+cu113 -f https://download.pytorch.org/whl/torch_stable.html ``` + +* [Installation errors, File "setup.py" not found](pip-install-error) + +(pip-install-error)= +#### Installation errors, File "setup.py" not found + +When installing dependencies and nerfactory with `pip install -e .`, you run into: `ERROR: File "setup.py" not found. Directory cannot be installed in editable mode` + +**Solution**: +This can be fixed by upgrading pip to the latest version: +``` +python -m pip install --upgrade pip +``` \ No newline at end of file