Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error during "requirements.txt" installation #214

Open
canonar opened this issue Oct 25, 2024 · 1 comment
Open

Error during "requirements.txt" installation #214

canonar opened this issue Oct 25, 2024 · 1 comment

Comments

@canonar
Copy link

canonar commented Oct 25, 2024

Hello,
I did everything like in this tutorial video "https://www.youtube.com/watch?v=NEF5bGyTqmk" but when I run

pip install -r requirements.txt

I got this error:

    `Collecting git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch (from -r requirements.txt (line 3))
      Cloning https://github.com/NVlabs/tiny-cuda-nn/ to /tmp/pip-req-build-1bu7dhfy
      Running command git clone --filter=blob:none --quiet https://github.com/NVlabs/tiny-cuda-nn/ /tmp/pip-req-build-1bu7dhfy
      Resolved https://github.com/NVlabs/tiny-cuda-nn/ to commit c91138bcd4c6877c8d5e60e483c0581aafc70cce
      Running command git submodule update --init --recursive -q
      Preparing metadata (setup.py) ... done
    Collecting addict (from -r requirements.txt (line 1))
      Using cached addict-2.4.0-py3-none-any.whl.metadata (1.0 kB)
    Requirement already satisfied: gdown in /home/stein/miniconda3/envs/neuralangelo/lib/python3.8/site-packages (from -r requirements.txt (line 2)) (5.2.0)
    Requirement already satisfied: gpustat in /home/stein/miniconda3/envs/neuralangelo/lib/python3.8/site-packages (from -r requirements.txt (line 4)) (1.1.1)
    Collecting icecream (from -r requirements.txt (line 5))
      Using cached icecream-2.1.3-py2.py3-none-any.whl.metadata (1.4 kB)
    Collecting imageio-ffmpeg (from -r requirements.txt (line 6))
      Using cached imageio_ffmpeg-0.5.1-py3-none-manylinux2010_x86_64.whl.metadata (1.6 kB)
    Collecting imutils (from -r requirements.txt (line 7))
      Using cached imutils-0.5.4.tar.gz (17 kB)
      Preparing metadata (setup.py) ... done
    Collecting ipdb (from -r requirements.txt (line 8))
      Using cached ipdb-0.13.13-py3-none-any.whl.metadata (14 kB)
    Collecting k3d (from -r requirements.txt (line 9))
      Using cached k3d-2.16.1-py3-none-any.whl.metadata (6.8 kB)
    Collecting kornia (from -r requirements.txt (line 10))
      Using cached kornia-0.7.3-py2.py3-none-any.whl.metadata (7.7 kB)
    Collecting lpips (from -r requirements.txt (line 11))
      Using cached lpips-0.1.4-py3-none-any.whl.metadata (10 kB)
    Collecting matplotlib (from -r requirements.txt (line 12))
      Using cached matplotlib-3.7.5-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.metadata (5.7 kB)
    Collecting mediapy (from -r requirements.txt (line 13))
      Using cached mediapy-1.2.2-py3-none-any.whl.metadata (4.8 kB)
    Collecting nvidia-ml-py3 (from -r requirements.txt (line 14))
      Using cached nvidia-ml-py3-7.352.0.tar.gz (19 kB)
      Preparing metadata (setup.py) ... done
    Collecting open3d (from -r requirements.txt (line 15))
      Using cached open3d-0.18.0-cp38-cp38-manylinux_2_27_x86_64.whl.metadata (4.2 kB)
    Collecting opencv-python-headless (from -r requirements.txt (line 16))
      Using cached opencv_python_headless-4.10.0.84-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (20 kB)
    Collecting OpenEXR (from -r requirements.txt (line 17))
      Using cached openexr-3.3.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (10 kB)
    Collecting pathlib (from -r requirements.txt (line 18))
      Using cached pathlib-1.0.1-py3-none-any.whl.metadata (5.1 kB)
    Requirement already satisfied: pillow in /home/stein/miniconda3/envs/neuralangelo/lib/python3.8/site-packages (from -r requirements.txt (line 19)) (10.4.0)
    Collecting plotly (from -r requirements.txt (line 20))
      Using cached plotly-5.24.1-py3-none-any.whl.metadata (7.3 kB)
    Collecting pyequilib (from -r requirements.txt (line 21))
      Using cached pyequilib-0.5.8-py3-none-any.whl.metadata (8.4 kB)
    Collecting pyexr (from -r requirements.txt (line 22))
      Using cached pyexr-0.4.0-py3-none-any.whl.metadata (4.5 kB)
    Collecting PyMCubes (from -r requirements.txt (line 23))
      **Using cached pymcubes-0.1.6.tar.gz (109 kB)
      Installing build dependencies ... error
      error: subprocess-exited-with-error
    
      × pip subprocess to install build dependencies did not run successfully.
      │ exit code: 1
      ╰─> [9 lines of output]
          Collecting setuptools
            Using cached setuptools-75.2.0-py3-none-any.whl.metadata (6.9 kB)
          Collecting wheel
            Using cached wheel-0.44.0-py3-none-any.whl.metadata (2.3 kB)
          Collecting Cython
            Using cached Cython-3.0.11-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.2 kB)
          ERROR: Ignored the following versions that require a different python version: 1.25.0 Requires-Python >=3.9; 1.25.1 Requires-Python >=3.9; 1.25.2 Requires-Python >=3.9; 1.26.0 Requires-Python <3.13,>=3.9; 1.26.1 Requires-Python <3.13,>=3.9; 1.26.2 Requires-Python >=3.9; 1.26.3 Requires-Python >=3.9; 1.26.4 Requires-Python >=3.9; 2.0.0 Requires-Python >=3.9; 2.0.1 Requires-Python >=3.9; 2.0.2 Requires-Python >=3.9; 2.1.0 Requires-Python >=3.10; 2.1.0rc1 Requires-Python >=3.10; 2.1.1 Requires-Python >=3.10; 2.1.2 Requires-Python >=3.10
          ERROR: Could not find a version that satisfies the requirement numpy~=2.0 (from versions: 1.3.0, 1.4.1, 1.5.0, 1.5.1, 1.6.0, 1.6.1, 1.6.2, 1.7.0, 1.7.1, 1.7.2, 1.8.0, 1.8.1, 1.8.2, 1.9.0, 1.9.1, 1.9.2, 1.9.3, 1.10.0.post2, 1.10.1, 1.10.2, 1.10.4, 1.11.0, 1.11.1, 1.11.2, 1.11.3, 1.12.0, 1.12.1, 1.13.0, 1.13.1, 1.13.3, 1.14.0, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.14.5, 1.14.6, 1.15.0, 1.15.1, 1.15.2, 1.15.3, 1.15.4, 1.16.0, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.16.6, 1.17.0, 1.17.1, 1.17.2, 1.17.3, 1.17.4, 1.17.5, 1.18.0, 1.18.1, 1.18.2, 1.18.3, 1.18.4, 1.18.5, 1.19.0, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.19.5, 1.20.0, 1.20.1, 1.20.2, 1.20.3, 1.21.0, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.22.0, 1.22.1, 1.22.2, 1.22.3, 1.22.4, 1.23.0, 1.23.1, 1.23.2, 1.23.3, 1.23.4, 1.23.5, 1.24.0, 1.24.1, 1.24.2, 1.24.3, 1.24.4)
          ERROR: No matching distribution found for numpy~=2.0
          [end of output]**
    
      note: This error originates from a subprocess, and is likely not a problem with pip.
    error: subprocess-exited-with-error
    
    × pip subprocess to install build dependencies 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.

`
I tried to install numpy 2.0 but this time i got this error

       `  pip install numpy==2.0.0
        ERROR: Ignored the following versions that require a different python version: 1.25.0 Requires-Python >=3.9; 1.25.1 Requires-Python >=3.9; 1.25.2 Requires-Python >=3.9; 1.26.0 Requires-Python <3.13,>=3.9; 1.26.1 Requires-Python <3.13,>=3.9; 1.26.2 Requires-Python >=3.9; 1.26.3 Requires-Python >=3.9; 1.26.4 Requires-Python >=3.9; 2.0.0 Requires-Python >=3.9; 2.0.1 Requires-Python >=3.9; 2.0.2 Requires-Python >=3.9; 2.1.0 Requires-Python >=3.10; 2.1.0rc1 Requires-Python >=3.10; 2.1.1 Requires-Python >=3.10; 2.1.2 Requires-Python >=3.10
        ERROR: Could not find a version that satisfies the requirement numpy==2.0.0 (from versions: 1.3.0, 1.4.1, 1.5.0, 1.5.1, 1.6.0, 1.6.1, 1.6.2, 1.7.0, 1.7.1, 1.7.2, 1.8.0, 1.8.1, 1.8.2, 1.9.0, 1.9.1, 1.9.2, 1.9.3, 1.10.0.post2, 1.10.1, 1.10.2, 1.10.4, 1.11.0, 1.11.1, 1.11.2, 1.11.3, 1.12.0, 1.12.1, 1.13.0, 1.13.1, 1.13.3, 1.14.0, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.14.5, 1.14.6, 1.15.0, 1.15.1, 1.15.2, 1.15.3, 1.15.4, 1.16.0, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.16.6, 1.17.0, 1.17.1, 1.17.2, 1.17.3, 1.17.4, 1.17.5, 1.18.0, 1.18.1, 1.18.2, 1.18.3, 1.18.4, 1.18.5, 1.19.0, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.19.5, 1.20.0, 1.20.1, 1.20.2, 1.20.3, 1.21.0, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.22.0, 1.22.1, 1.22.2, 1.22.3, 1.22.4, 1.23.0, 1.23.1, 1.23.2, 1.23.3, 1.23.4, 1.23.5, 1.24.0, 1.24.1, 1.24.2, 1.24.3, 1.24.4)
        ERROR: No matching distribution found for numpy==2.0.0

`

I also tried to update Python but failed. Any solutions or ideas?

@canonar
Copy link
Author

canonar commented Oct 25, 2024

I solve the problem. I just installed PyMCubes 0.1.2 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant