Open alexmelekhin opened 1 year ago
When I'm trying to install MinkowskiEngine in the nox session with python 3.11.4 it returns following error:
python 3.11.4
nox > Command python -m pip install git+https://github.com/NVIDIA/MinkowskiEngine --no-deps failed with exit code 2: Collecting git+https://github.com/NVIDIA/MinkowskiEngine Cloning https://github.com/NVIDIA/MinkowskiEngine to /tmp/pip-req-build-nh6h84uy Running command git clone --filter=blob:none --quiet https://github.com/NVIDIA/MinkowskiEngine /tmp/pip-req-build-nh6h84uy Resolved https://github.com/NVIDIA/MinkowskiEngine to commit 02fc608bea4c0549b0a7b00ca1bf15dee4a0b228 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' ERROR: Exception: Traceback (most recent call last): File "/home/docker_opr/OpenPlaceRecognition/.nox/tests-python-3-11-pytorch-2-0-1/lib/python3.11/site-packages/pip/_internal/cli/base_command.py", line 169, in exc_logging_wrapper status = run_func(*args) ^^^^^^^^^^^^^^^ File "/home/docker_opr/OpenPlaceRecognition/.nox/tests-python-3-11-pytorch-2-0-1/lib/python3.11/site-packages/pip/_internal/cli/req_command.py", line 248, in wrapper return func(self, options, args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/docker_opr/OpenPlaceRecognition/.nox/tests-python-3-11-pytorch-2-0-1/lib/python3.11/site-packages/pip/_internal/commands/install.py", line 377, in run requirement_set = resolver.resolve( ^^^^^^^^^^^^^^^^^ File "/home/docker_opr/OpenPlaceRecognition/.nox/tests-python-3-11-pytorch-2-0-1/lib/python3.11/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 118, in resolve elif installed_dist.version != candidate.version: ^^^^^^^^^^^^^^^^^^^^^^ File "/home/docker_opr/OpenPlaceRecognition/.nox/tests-python-3-11-pytorch-2-0-1/lib/python3.11/site-packages/pip/_internal/metadata/importlib/_dists.py", line 178, in version return parse_version(self._dist.version) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/docker_opr/OpenPlaceRecognition/.nox/tests-python-3-11-pytorch-2-0-1/lib/python3.11/site-packages/pip/_vendor/packaging/version.py", line 49, in parse return Version(version) ^^^^^^^^^^^^^^^^ File "/home/docker_opr/OpenPlaceRecognition/.nox/tests-python-3-11-pytorch-2-0-1/lib/python3.11/site-packages/pip/_vendor/packaging/version.py", line 264, in __init__ match = self._regex.search(version) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: expected string or bytes-like object, got 'NoneType'
I install torch 2.0.1+cpu in the session right before MinkowskiEngine.
torch 2.0.1+cpu
Similiar nox session with python 3.10.12 and the same torch 2.0.1+cpu works fine, so I think that it is not related to nox.
python 3.10.12
When I'm trying to install MinkowskiEngine in the nox session with
python 3.11.4
it returns following error:I install
torch 2.0.1+cpu
in the session right before MinkowskiEngine.Similiar nox session with
python 3.10.12
and the sametorch 2.0.1+cpu
works fine, so I think that it is not related to nox.