When I try to install directly from git I get this error.
pip install git+https://github.com/nerfstudio-project/nerfacc.git
WARNING: Ignoring invalid distribution -orch (/vulcanscratch/kzhang/miniconda3/envs/jax/lib/python3.9/site-packages)
WARNING: Ignoring invalid distribution -orch (/vulcanscratch/kzhang/miniconda3/envs/jax/lib/python3.9/site-packages)
Collecting git+https://github.com/nerfstudio-project/nerfacc.git
Cloning https://github.com/nerfstudio-project/nerfacc.git to /tmp/pip-req-build-hflq2lay
Running command git clone -q https://github.com/nerfstudio-project/nerfacc.git /tmp/pip-req-build-hflq2lay
Resolved https://github.com/nerfstudio-project/nerfacc.git to commit ef8d27c5b947631d8939caa5a47b63d04b795487
Running command git submodule update --init --recursive -q
fatal: remote error: upload-pack: not our ref e739343890da1f29ab06586a02e038c3348850c8
Fetched in submodule path 'benchmarks/kplanes', but it did not contain e739343890da1f29ab06586a02e038c3348850c8. Direct fetching of that commit failed.
WARNING: Discarding git+https://github.com/nerfstudio-project/nerfacc.git. Command errored out with exit status 1: git submodule update --init --recursive -q Check the logs for full command output.
ERROR: Command errored out with exit status 1: git submodule update --init --recursive -q Check the logs for full command output.
WARNING: Ignoring invalid distribution -orch (/vulcanscratch/kzhang/miniconda3/envs/jax/lib/python3.9/site-packages)
WARNING: Ignoring invalid distribution -orch (/vulcanscratch/kzhang/miniconda3/envs/jax/lib/python3.9/site-packages)
WARNING: Ignoring invalid distribution -orch (/vulcanscratch/kzhang/miniconda3/envs/jax/lib/python3.9/site-packages)
One workaround is to clone the repo non-recursively and then run pip install -e . as it's only the benchmarks directory that suffers from this problem.
When I try to install directly from git I get this error.
I believe this is because if you try to go to the commit https://github.com/liruilong940607/kplanes/tree/e739343890da1f29ab06586a02e038c3348850c8 github says it doesn't exist.
One workaround is to clone the repo non-recursively and then run
pip install -e .
as it's only thebenchmarks
directory that suffers from this problem.