muskie82 / MonoGS

[CVPR'24 Highlight & Best Demo Award] Gaussian Splatting SLAM
https://rmurai.co.uk/projects/GaussianSplattingSLAM/
Other
1.35k stars 126 forks source link

Conda environment setup issue #114

Open harshal-14 opened 3 months ago

harshal-14 commented 3 months ago

Hi I'm not able to setup the conda environment with the help of environment.yaml file. Kindly help me debug this issue:

$ conda env create -f environment.yml
Channels:
 - pytorch
 - conda-forge
 - defaults
Platform: linux-64
Collecting package metadata (repodata.json): done
Solving environment: done

Downloading and Extracting Packages:

Preparing transaction: done                                                                                                                                                                                 
Verifying transaction: done                                                                                                                                                                                 
Executing transaction: \ By downloading and using the CUDA Toolkit conda packages, you accept the terms and conditions of the CUDA End User License Agreement (EULA): https://docs.nvidia.com/cuda/eula/index.html                                                                                                                                                                                                      

done                                                                                                                                                                                                        
Installing pip dependencies: - Ran pip subprocess with arguments:                                                                                                                                           
['/home/lucifer/miniconda3/envs/MonoGS/bin/python', '-m', 'pip', 'install', '-U', '-r', '/home/lucifer/WPI/Summer_Internship/MonoGS/condaenv.q20019ia.requirements.txt', '--exists-action=b']               
Pip subprocess output:                                                                                                                                                                                      
Processing ./submodules/simple-knn                                                                                                                                                                          
  Preparing metadata (setup.py): started                                                                                                                                                                    
  Preparing metadata (setup.py): finished with status 'done'                                                                                                                                                
Processing ./submodules/diff-gaussian-rasterization                                                                                                                                                         
  Preparing metadata (setup.py): started                                                                                                                                                                    
  Preparing metadata (setup.py): finished with status 'done'                                                                                                                                                
Collecting opencv-python==4.8.1.78                                                                                                                                                                          
  Downloading opencv_python-4.8.1.78-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (61.7 MB)                                                                                                     
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.7/61.7 MB 2.0 MB/s eta 0:00:00                                                                                                                             
Collecting munch                                                                                                                                                                                            
  Downloading munch-4.0.0-py2.py3-none-any.whl (9.9 kB)                                                                                                                                                     
Collecting trimesh                                                                                                                                                                                          
  Downloading trimesh-4.4.1-py3-none-any.whl (694 kB)                                                                                                                                                       
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 694.7/694.7 kB 1.5 MB/s eta 0:00:00                                                                                                                           
Collecting evo==1.11.0                                                                                                                                                                                      
  Downloading evo-1.11.0.tar.gz (113 kB)                                                                                                                                                                    
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 114.0/114.0 kB 2.2 MB/s eta 0:00:00                                                                                                                           
  Preparing metadata (setup.py): started                                                                                                                                                                    
  Preparing metadata (setup.py): finished with status 'done'                                                                                                                                                
Collecting open3d==0.17.0                                                                                                                                                                                   
  Downloading open3d-0.17.0-cp37-cp37m-manylinux_2_27_x86_64.whl (420.4 MB)                                                                                                                                 
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 420.4/420.4 MB 1.5 MB/s eta 0:00:00                                                                                                                           
Collecting torchmetrics                                                                                                                                                                                     
  Downloading torchmetrics-0.11.4-py3-none-any.whl (519 kB)                                                                                                                                                 
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 519.2/519.2 kB 1.8 MB/s eta 0:00:00                                                                                                                           
Collecting imgviz                                                                                                                                                                                           
  Downloading imgviz-1.7.5.tar.gz (7.7 MB)                                                                                                                                                                  
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.7/7.7 MB 2.1 MB/s eta 0:00:00                                                                                                                               
  Preparing metadata (setup.py): started                                                                                                                                                                    
  Preparing metadata (setup.py): finished with status 'done'
Collecting PyOpenGL
  Downloading PyOpenGL-3.1.7-py3-none-any.whl (2.4 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.4/2.4 MB 2.0 MB/s eta 0:00:00
Collecting glfw
  Downloading glfw-2.7.0-py2.py27.py3.py30.py31.py32.py33.py34.py35.py36.py37.py38-none-manylinux2014_x86_64.whl (211 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 211.8/211.8 kB 2.6 MB/s eta 0:00:00
Collecting PyGLM
  Downloading PyGLM-2.7.1.tar.gz (4.6 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.6/4.6 MB 2.5 MB/s eta 0:00:00
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting wandb
  Downloading wandb-0.17.4-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.9 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.9/6.9 MB 2.6 MB/s eta 0:00:00
Collecting lpips
  Downloading lpips-0.1.4-py3-none-any.whl (53 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 53.8/53.8 kB 1.2 MB/s eta 0:00:00
Collecting rich
  Downloading rich-13.7.1-py3-none-any.whl (240 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 240.7/240.7 kB 2.0 MB/s eta 0:00:00
Collecting ruff
  Downloading ruff-0.5.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.1/10.1 MB 2.0 MB/s eta 0:00:00
Requirement already satisfied: numpy>=1.17.0 in /home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages (from opencv-python==4.8.1.78->-r /home/lucifer/WPI/Summer_Internship/MonoGS/condaenv.q20019ia.requirements.txt (line 3)) (1.21.6)
Collecting matplotlib
  Downloading matplotlib-3.5.3-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (11.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.2/11.2 MB 2.3 MB/s eta 0:00:00
Collecting scipy>=1.2
  Downloading scipy-1.7.3-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (38.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 38.1/38.1 MB 2.4 MB/s eta 0:00:00
Collecting pandas
  Downloading pandas-1.3.5-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.3 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.3/11.3 MB 2.3 MB/s eta 0:00:00
Collecting seaborn>=0.9
  Downloading seaborn-0.12.2-py3-none-any.whl (293 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 293.3/293.3 kB 4.4 MB/s eta 0:00:00
Collecting natsort
  Downloading natsort-8.4.0-py3-none-any.whl (38 kB)
Collecting argcomplete
  Downloading argcomplete-3.1.2-py3-none-any.whl (41 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 41.5/41.5 kB 5.3 MB/s eta 0:00:00
Requirement already satisfied: colorama>=0.3 in /home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages (from evo==1.11.0->-r /home/lucifer/WPI/Summer_Internship/MonoGS/condaenv.q20019ia.requirements.txt (line 6)) (0.4.6)
Collecting pygments
  Downloading pygments-2.17.2-py3-none-any.whl (1.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 2.3 MB/s eta 0:00:00
Collecting pyyaml
  Downloading PyYAML-6.0.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (670 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 670.1/670.1 kB 2.3 MB/s eta 0:00:00
Requirement already satisfied: pillow in /home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages (from evo==1.11.0->-r /home/lucifer/WPI/Summer_Internship/MonoGS/condaenv.q20019ia.requirements.txt (line 6)) (9.2.0)
Collecting dash>=2.6.0
  Downloading dash-2.15.0-py3-none-any.whl (10.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.2/10.2 MB 2.2 MB/s eta 0:00:00
Requirement already satisfied: tqdm in /home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages (from open3d==0.17.0->-r /home/lucifer/WPI/Summer_Internship/MonoGS/condaenv.q20019ia.requirements.txt (line 7)) (4.66.4)
Collecting addict
  Downloading addict-2.4.0-py3-none-any.whl (3.8 kB)
Collecting werkzeug>=2.2.3
  Downloading Werkzeug-2.2.3-py3-none-any.whl (233 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 233.6/233.6 kB 2.2 MB/s eta 0:00:00
Collecting ipywidgets>=8.0.4
  Downloading ipywidgets-8.1.3-py3-none-any.whl (139 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 139.4/139.4 kB 1.8 MB/s eta 0:00:00
Collecting pyquaternion
  Downloading pyquaternion-0.9.9-py3-none-any.whl (14 kB)
Collecting pillow
  Downloading Pillow-9.5.0-cp37-cp37m-manylinux_2_28_x86_64.whl (3.4 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.4/3.4 MB 2.4 MB/s eta 0:00:00
Collecting nbformat==5.7.0
  Downloading nbformat-5.7.0-py3-none-any.whl (77 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.1/77.1 kB 3.3 MB/s eta 0:00:00
Collecting configargparse
  Downloading ConfigArgParse-1.7-py3-none-any.whl (25 kB)
Collecting scikit-learn>=0.21
  Downloading scikit_learn-1.0.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (24.8 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 24.8/24.8 MB 1.7 MB/s eta 0:00:00
Collecting jupyter-core
  Downloading jupyter_core-4.12.0-py3-none-any.whl (89 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 89.9/89.9 kB 3.0 MB/s eta 0:00:00
Collecting jsonschema>=2.6
  Downloading jsonschema-4.17.3-py3-none-any.whl (90 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.4/90.4 kB 2.2 MB/s eta 0:00:00
Collecting importlib-metadata>=3.6
  Downloading importlib_metadata-6.7.0-py3-none-any.whl (22 kB)
Collecting traitlets>=5.1
  Downloading traitlets-5.9.0-py3-none-any.whl (117 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 117.4/117.4 kB 1.2 MB/s eta 0:00:00
Collecting fastjsonschema
  Downloading fastjsonschema-2.20.0-py3-none-any.whl (23 kB)
Requirement already satisfied: torch>=1.8.1 in /home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages (from torchmetrics->-r /home/lucifer/WPI/Summer_Internship/MonoGS/condaenv.q20019ia.requirements.txt (line 8)) (1.12.1)
Requirement already satisfied: typing-extensions in /home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages (from torchmetrics->-r /home/lucifer/WPI/Summer_Internship/MonoGS/condaenv.q20019ia.requirements.txt (line 8)) (4.7.1)
Collecting packaging
  Downloading packaging-24.0-py3-none-any.whl (53 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 53.5/53.5 kB 1.6 MB/s eta 0:00:00
Collecting psutil>=5.0.0
  Downloading psutil-6.0.0-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (290 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 290.5/290.5 kB 1.8 MB/s eta 0:00:00
Collecting docker-pycreds>=0.4.0
  Downloading docker_pycreds-0.4.0-py2.py3-none-any.whl (9.0 kB)
Collecting click!=8.0.0,>=7.1
  Downloading click-8.1.7-py3-none-any.whl (97 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.9/97.9 kB 1.7 MB/s eta 0:00:00
Collecting setproctitle
  Downloading setproctitle-1.3.3-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (30 kB)
Collecting protobuf!=4.21.0,<6,>=3.12.0
  Downloading protobuf-4.24.4-cp37-abi3-manylinux2014_x86_64.whl (311 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 311.6/311.6 kB 1.7 MB/s eta 0:00:00
Collecting gitpython!=3.1.29,>=1.0.0
  Downloading GitPython-3.1.43-py3-none-any.whl (207 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 207.3/207.3 kB 2.2 MB/s eta 0:00:00
Collecting platformdirs
  Downloading platformdirs-4.0.0-py3-none-any.whl (17 kB)
Collecting sentry-sdk>=1.0.0
  Downloading sentry_sdk-2.9.0-py2.py3-none-any.whl (301 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 301.8/301.8 kB 2.4 MB/s eta 0:00:00
Requirement already satisfied: requests<3,>=2.0.0 in /home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages (from wandb->-r /home/lucifer/WPI/Summer_Internship/MonoGS/condaenv.q20019ia.requirements.txt (line 13)) (2.32.2)
Requirement already satisfied: setuptools in /home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages (from wandb->-r /home/lucifer/WPI/Summer_Internship/MonoGS/condaenv.q20019ia.requirements.txt (line 13)) (69.0.3)
Requirement already satisfied: torchvision>=0.2.1 in /home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages (from lpips->-r /home/lucifer/WPI/Summer_Internship/MonoGS/condaenv.q20019ia.requirements.txt (line 14)) (0.13.1)
Collecting markdown-it-py>=2.2.0
  Downloading markdown_it_py-2.2.0-py3-none-any.whl (84 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 84.5/84.5 kB 1.5 MB/s eta 0:00:00
Collecting dash-html-components==2.0.0
  Downloading dash_html_components-2.0.0-py3-none-any.whl (4.1 kB)
Collecting dash-core-components==2.0.0
  Downloading dash_core_components-2.0.0-py3-none-any.whl (3.8 kB)
Collecting plotly>=5.0.0
  Downloading plotly-5.18.0-py3-none-any.whl (15.6 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 15.6/15.6 MB 2.0 MB/s eta 0:00:00
Collecting retrying
  Downloading retrying-1.3.4-py3-none-any.whl (11 kB)
Collecting nest-asyncio
  Downloading nest_asyncio-1.6.0-py3-none-any.whl (5.2 kB)
Collecting dash-table==5.0.0
  Downloading dash_table-5.0.0-py3-none-any.whl (3.9 kB)
Collecting Flask<3.1,>=1.0.4
  Downloading Flask-2.2.5-py3-none-any.whl (101 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 101.8/101.8 kB 1.9 MB/s eta 0:00:00
Collecting six>=1.4.0
  Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting gitdb<5,>=4.0.1
  Downloading gitdb-4.0.11-py3-none-any.whl (62 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.7/62.7 kB 1.3 MB/s eta 0:00:00
Collecting zipp>=0.5
  Downloading zipp-3.15.0-py3-none-any.whl (6.8 kB)
Collecting ipython>=6.1.0
  Downloading ipython-7.34.0-py3-none-any.whl (793 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 793.8/793.8 kB 1.9 MB/s eta 0:00:00
Collecting widgetsnbextension~=4.0.11
  Downloading widgetsnbextension-4.0.11-py3-none-any.whl (2.3 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.3/2.3 MB 2.1 MB/s eta 0:00:00
Collecting jupyterlab-widgets~=3.0.11
  Downloading jupyterlab_widgets-3.0.11-py3-none-any.whl (214 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 214.4/214.4 kB 1.7 MB/s eta 0:00:00
Collecting comm>=0.1.3
  Downloading comm-0.1.4-py3-none-any.whl (6.6 kB)
Collecting mdurl~=0.1
  Downloading mdurl-0.1.2-py3-none-any.whl (10.0 kB)
Collecting cycler>=0.10
  Downloading cycler-0.11.0-py3-none-any.whl (6.4 kB)
Collecting pyparsing>=2.2.1
  Downloading pyparsing-3.1.2-py3-none-any.whl (103 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 103.2/103.2 kB 1.6 MB/s eta 0:00:00
Collecting python-dateutil>=2.7
  Downloading python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 229.9/229.9 kB 1.1 MB/s eta 0:00:00
Collecting kiwisolver>=1.0.1
  Downloading kiwisolver-1.4.5-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 1.5 MB/s eta 0:00:00
Collecting fonttools>=4.22.0
  Downloading fonttools-4.38.0-py3-none-any.whl (965 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 965.4/965.4 kB 1.8 MB/s eta 0:00:00
Collecting pytz>=2017.3
  Downloading pytz-2024.1-py2.py3-none-any.whl (505 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 505.5/505.5 kB 1.2 MB/s eta 0:00:00
Requirement already satisfied: urllib3<3,>=1.21.1 in /home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages (from requests<3,>=2.0.0->wandb->-r /home/lucifer/WPI/Summer_Internship/MonoGS/condaenv.q20019ia.requirements.txt (line 13)) (2.2.1)
Requirement already satisfied: idna<4,>=2.5 in /home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages (from requests<3,>=2.0.0->wandb->-r /home/lucifer/WPI/Summer_Internship/MonoGS/condaenv.q20019ia.requirements.txt (line 13)) (3.7)
Requirement already satisfied: charset-normalizer<4,>=2 in /home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages (from requests<3,>=2.0.0->wandb->-r /home/lucifer/WPI/Summer_Internship/MonoGS/condaenv.q20019ia.requirements.txt (line 13)) (3.3.2)
Requirement already satisfied: certifi>=2017.4.17 in /home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages (from requests<3,>=2.0.0->wandb->-r /home/lucifer/WPI/Summer_Internship/MonoGS/condaenv.q20019ia.requirements.txt (line 13)) (2024.7.4)
Collecting threadpoolctl>=2.0.0
  Downloading threadpoolctl-3.1.0-py3-none-any.whl (14 kB)
Collecting joblib>=0.11
  Downloading joblib-1.3.2-py3-none-any.whl (302 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 302.2/302.2 kB 1.6 MB/s eta 0:00:00
Collecting MarkupSafe>=2.1.1
  Downloading MarkupSafe-2.1.5-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB)
Collecting itsdangerous>=2.0
  Downloading itsdangerous-2.1.2-py3-none-any.whl (15 kB)
Collecting Jinja2>=3.0
  Downloading jinja2-3.1.4-py3-none-any.whl (133 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.3/133.3 kB 2.1 MB/s eta 0:00:00
Collecting smmap<6,>=3.0.1
  Downloading smmap-5.0.1-py3-none-any.whl (24 kB)
Collecting prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0
  Downloading prompt_toolkit-3.0.47-py3-none-any.whl (386 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 386.4/386.4 kB 1.8 MB/s eta 0:00:00
Collecting pickleshare
  Downloading pickleshare-0.7.5-py2.py3-none-any.whl (6.9 kB)
Collecting pexpect>4.3
  Downloading pexpect-4.9.0-py2.py3-none-any.whl (63 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 63.8/63.8 kB 1.4 MB/s eta 0:00:00
Collecting jedi>=0.16
  Downloading jedi-0.19.1-py2.py3-none-any.whl (1.6 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 1.6 MB/s eta 0:00:00
Collecting decorator
  Downloading decorator-5.1.1-py3-none-any.whl (9.1 kB)
Collecting backcall
  Downloading backcall-0.2.0-py2.py3-none-any.whl (11 kB)
Collecting matplotlib-inline
  Downloading matplotlib_inline-0.1.6-py3-none-any.whl (9.4 kB)
Collecting pkgutil-resolve-name>=1.3.10
  Downloading pkgutil_resolve_name-1.3.10-py3-none-any.whl (4.7 kB)
Collecting attrs>=17.4.0
  Downloading attrs-23.2.0-py3-none-any.whl (60 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.8/60.8 kB 1.5 MB/s eta 0:00:00
Collecting importlib-resources>=1.4.0
  Downloading importlib_resources-5.12.0-py3-none-any.whl (36 kB)
Collecting pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0
  Downloading pyrsistent-0.19.3-py3-none-any.whl (57 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.5/57.5 kB 1.5 MB/s eta 0:00:00
Collecting tenacity>=6.2.0
  Downloading tenacity-8.2.3-py3-none-any.whl (24 kB)
Collecting parso<0.9.0,>=0.8.3
  Downloading parso-0.8.4-py2.py3-none-any.whl (103 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 103.7/103.7 kB 963.5 kB/s eta 0:00:00
Collecting ptyprocess>=0.5
  Downloading ptyprocess-0.7.0-py2.py3-none-any.whl (13 kB)
Collecting wcwidth
  Downloading wcwidth-0.2.13-py2.py3-none-any.whl (34 kB)
Building wheels for collected packages: evo, simple_knn, diff_gaussian_rasterization, imgviz, PyGLM
  Building wheel for evo (setup.py): started
  Building wheel for evo (setup.py): finished with status 'done'
  Created wheel for evo: filename=evo-1.11.0-py3-none-any.whl size=124672 sha256=4490db6e0b2f41f94a725f2ff9e93d1ae0d4cf343951bd56986831d8001d7f1a
  Stored in directory: /home/lucifer/.cache/pip/wheels/1f/e3/f7/1147794e716c5e8bb112b893ab1a7d59f7cebefed0c28bd126
  Building wheel for simple_knn (setup.py): started
  Building wheel for simple_knn (setup.py): finished with status 'error'
  Running setup.py clean for simple_knn
  Building wheel for diff_gaussian_rasterization (setup.py): started
  Building wheel for diff_gaussian_rasterization (setup.py): finished with status 'error'
  Running setup.py clean for diff_gaussian_rasterization
  Building wheel for imgviz (setup.py): started
  Building wheel for imgviz (setup.py): finished with status 'done'
  Created wheel for imgviz: filename=imgviz-1.7.5-py3-none-any.whl size=7680233 sha256=1ed24f014c00bf75f290cd143a20502cc110a843d9fe1df36fe4e1a5c9672038
  Stored in directory: /home/lucifer/.cache/pip/wheels/88/94/9d/2b32018d3b7376911ce9789f4e8512b3668eab4325bf96a8b1
  Building wheel for PyGLM (setup.py): started
  Building wheel for PyGLM (setup.py): still running...
  Building wheel for PyGLM (setup.py): finished with status 'done'
  Created wheel for PyGLM: filename=PyGLM-2.7.1-cp37-cp37m-linux_x86_64.whl size=9070229 sha256=b3144a450c634a0634ccefbb7817f3770d795aa47b5acfe15ae559b26866a362
  Stored in directory: /home/lucifer/.cache/pip/wheels/4a/39/6c/99b2f2df313bf4cff85c11c5af3d8d036fb9b4c02f2f789d50
Successfully built evo imgviz PyGLM
Failed to build simple_knn diff_gaussian_rasterization
Installing collected packages: wcwidth, simple_knn, pytz, PyOpenGL, PyGLM, ptyprocess, pickleshare, glfw, fastjsonschema, diff_gaussian_rasterization, dash-table, dash-html-components, dash-core-components, backcall, addict, zipp, widgetsnbextension, trimesh, traitlets, threadpoolctl, tenacity, smmap, six, setproctitle, sentry-sdk, scipy, ruff, pyyaml, pyrsistent, pyquaternion, pyparsing, pygments, psutil, protobuf, prompt-toolkit, platformdirs, pkgutil-resolve-name, pillow, pexpect, parso, packaging, opencv-python, nest-asyncio, natsort, mdurl, MarkupSafe, kiwisolver, jupyterlab-widgets, joblib, itsdangerous, fonttools, decorator, cycler, configargparse, werkzeug, torchmetrics, scikit-learn, retrying, python-dateutil, plotly, matplotlib-inline, markdown-it-py, jupyter-core, Jinja2, jedi, importlib-resources, importlib-metadata, gitdb, docker-pycreds, comm, rich, pandas, munch, matplotlib, lpips, ipython, gitpython, click, attrs, argcomplete, wandb, seaborn, jsonschema, ipywidgets, imgviz, Flask, nbformat, evo, dash, open3d
  Running setup.py install for simple_knn: started
  Running setup.py install for simple_knn: finished with status 'error'

Pip subprocess error:
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [48 lines of output]
      running bdist_wheel
      running build
      running build_ext
      Traceback (most recent call last):
        File "<string>", line 36, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/home/lucifer/WPI/Summer_Internship/MonoGS/submodules/simple-knn/setup.py", line 33, in <module>
          'build_ext': BuildExtension
        File "/home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/__init__.py", line 103, in setup
          return distutils.core.setup(**attrs)
        File "/home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 185, in setup
          return run_commands(dist)
        File "/home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
          dist.run_commands()
        File "/home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
          self.run_command(cmd)
        File "/home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/dist.py", line 963, in run_command
          super().run_command(command)
        File "/home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
          cmd_obj.run()
        File "/home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/wheel/bdist_wheel.py", line 368, in run
          self.run_command("build")
        File "/home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
          self.distribution.run_command(command)
        File "/home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/dist.py", line 963, in run_command
          super().run_command(command)
        File "/home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
          cmd_obj.run()
        File "/home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/_distutils/command/build.py", line 131, in run
          self.run_command(cmd_name)
        File "/home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
          self.distribution.run_command(command)
        File "/home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/dist.py", line 963, in run_command
          super().run_command(command)
        File "/home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
          cmd_obj.run()
        File "/home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 88, in run
          _build_ext.run(self)
        File "/home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/_distutils/command/build_ext.py", line 345, in run
          self.build_extensions()
        File "/home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 434, in build_extensions
          self._check_cuda_version(compiler_name, compiler_version)
        File "/home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 812, in _check_cuda_version
          raise RuntimeError(CUDA_MISMATCH_MESSAGE.format(cuda_str_version, torch.version.cuda))
      RuntimeError:
      The detected CUDA version (12.4) mismatches the version that was used to compile
      PyTorch (11.6). Please make sure to use the same CUDA versions.

      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for simple_knn
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [53 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.linux-x86_64-cpython-37
      creating build/lib.linux-x86_64-cpython-37/diff_gaussian_rasterization
      copying diff_gaussian_rasterization/__init__.py -> build/lib.linux-x86_64-cpython-37/diff_gaussian_rasterization
      running build_ext
      Traceback (most recent call last):
        File "<string>", line 36, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/home/lucifer/WPI/Summer_Internship/MonoGS/submodules/diff-gaussian-rasterization/setup.py", line 32, in <module>
          'build_ext': BuildExtension
        File "/home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/__init__.py", line 103, in setup
          return distutils.core.setup(**attrs)
        File "/home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 185, in setup
          return run_commands(dist)
        File "/home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
          dist.run_commands()
        File "/home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
          self.run_command(cmd)
        File "/home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/dist.py", line 963, in run_command
          super().run_command(command)
        File "/home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
          cmd_obj.run()
        File "/home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/wheel/bdist_wheel.py", line 368, in run
          self.run_command("build")
        File "/home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
          self.distribution.run_command(command)
        File "/home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/dist.py", line 963, in run_command
          super().run_command(command)
        File "/home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
          cmd_obj.run()
        File "/home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/_distutils/command/build.py", line 131, in run
          self.run_command(cmd_name)
        File "/home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
          self.distribution.run_command(command)
        File "/home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/dist.py", line 963, in run_command
          super().run_command(command)
        File "/home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
          cmd_obj.run()
        File "/home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 88, in run
          _build_ext.run(self)
        File "/home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/_distutils/command/build_ext.py", line 345, in run
          self.build_extensions()
        File "/home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 434, in build_extensions
          self._check_cuda_version(compiler_name, compiler_version)
        File "/home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 812, in _check_cuda_version
          raise RuntimeError(CUDA_MISMATCH_MESSAGE.format(cuda_str_version, torch.version.cuda))
      RuntimeError:
      The detected CUDA version (12.4) mismatches the version that was used to compile
      PyTorch (11.6). Please make sure to use the same CUDA versions.

      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for diff_gaussian_rasterization
  error: subprocess-exited-with-error

  × Running setup.py install for simple_knn did not run successfully.
  │ exit code: 1
  ╰─> [63 lines of output]
      running install
      /home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
      !!

              ********************************************************************************
              Please avoid running ``setup.py`` directly.
              Instead, use pypa/build, pypa/installer or other
              standards-based tools.

              See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
              ********************************************************************************

      !!
        self.initialize_options()
      running build
      running build_ext
      Traceback (most recent call last):
        File "<string>", line 36, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/home/lucifer/WPI/Summer_Internship/MonoGS/submodules/simple-knn/setup.py", line 33, in <module>
          'build_ext': BuildExtension
        File "/home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/__init__.py", line 103, in setup
          return distutils.core.setup(**attrs)
        File "/home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 185, in setup
          return run_commands(dist)
        File "/home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
          dist.run_commands()
        File "/home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
          self.run_command(cmd)
        File "/home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/dist.py", line 963, in run_command
          super().run_command(command)
        File "/home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
          cmd_obj.run()
        File "/home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/command/install.py", line 78, in run
          return orig.install.run(self)
        File "/home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/_distutils/command/install.py", line 697, in run
          self.run_command('build')
        File "/home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
          self.distribution.run_command(command)
        File "/home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/dist.py", line 963, in run_command
          super().run_command(command)
        File "/home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
          cmd_obj.run()
        File "/home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/_distutils/command/build.py", line 131, in run
          self.run_command(cmd_name)
        File "/home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
          self.distribution.run_command(command)
        File "/home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/dist.py", line 963, in run_command
          super().run_command(command)
        File "/home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
          cmd_obj.run()
        File "/home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 88, in run
          _build_ext.run(self)
        File "/home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/_distutils/command/build_ext.py", line 345, in run
          self.build_extensions()
        File "/home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 434, in build_extensions
          self._check_cuda_version(compiler_name, compiler_version)
        File "/home/lucifer/miniconda3/envs/MonoGS/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 812, in _check_cuda_version
          raise RuntimeError(CUDA_MISMATCH_MESSAGE.format(cuda_str_version, torch.version.cuda))
      RuntimeError:
      The detected CUDA version (12.4) mismatches the version that was used to compile
      PyTorch (11.6). Please make sure to use the same CUDA versions.

      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> simple_knn

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
WARNING: There was an error checking the latest version of pip.

failed

CondaEnvException: Pip failed
notu97 commented 3 months ago

Donot use the environment.yaml file to prepare the conda environment directly. Follow this process step by step:

czeyveli1 commented 3 months ago

Could you explain how did you install other pending packages one by one? Because when I try to install the simple-knn package, I get an error.

notu97 commented 3 months ago

What is the error that you are getting. Here is the command to install simple-knn (run from the MonoGS directory pip install submodules/simple-knn

czeyveli1 commented 3 months ago
  Running setup.py install for simple-knn ... error
  error: subprocess-exited-with-error

  × Running setup.py install for simple-knn did not run successfully.
  │ exit code: 1
  ╰─> [56 lines of output]
      No CUDA runtime is found, using CUDA_HOME='/home/cz/anaconda3/envs/MonoGS'
      running install
      /home/cz/anaconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
        setuptools.SetuptoolsDeprecationWarning,
      running build
      running build_ext
      /home/cz/anaconda3/envs/MonoGS/lib/python3.7/site-packages/torch/utils/cpp_extension.py:476: UserWarning: Attempted to use ninja as the BuildExtension backend but we could not find ninja.. Falling back to using the slow distutils backend.
        warnings.warn(msg.format('we could not find ninja.'))
      Traceback (most recent call last):
        File "<string>", line 36, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/home/cz/Documents/MonoGS/submodules/simple-knn/setup.py", line 33, in <module>
          'build_ext': BuildExtension
        File "/home/cz/anaconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/__init__.py", line 87, in setup
          return distutils.core.setup(**attrs)
        File "/home/cz/anaconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 185, in setup
          return run_commands(dist)
        File "/home/cz/anaconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
          dist.run_commands()
        File "/home/cz/anaconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
          self.run_command(cmd)
        File "/home/cz/anaconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/dist.py", line 1208, in run_command
          super().run_command(command)
        File "/home/cz/anaconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
          cmd_obj.run()
        File "/home/cz/anaconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/command/install.py", line 68, in run
          return orig.install.run(self)
        File "/home/cz/anaconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/_distutils/command/install.py", line 698, in run
          self.run_command('build')
        File "/home/cz/anaconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
          self.distribution.run_command(command)
        File "/home/cz/anaconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/dist.py", line 1208, in run_command
          super().run_command(command)
        File "/home/cz/anaconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
          cmd_obj.run()
        File "/home/cz/anaconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/_distutils/command/build.py", line 132, in run
          self.run_command(cmd_name)
        File "/home/cz/anaconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
          self.distribution.run_command(command)
        File "/home/cz/anaconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/dist.py", line 1208, in run_command
          super().run_command(command)
        File "/home/cz/anaconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
          cmd_obj.run()
        File "/home/cz/anaconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 84, in run
          _build_ext.run(self)
        File "/home/cz/anaconda3/envs/MonoGS/lib/python3.7/site-packages/setuptools/_distutils/command/build_ext.py", line 346, in run
          self.build_extensions()
        File "/home/cz/anaconda3/envs/MonoGS/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 499, in build_extensions
          _check_cuda_version(compiler_name, compiler_version)
        File "/home/cz/anaconda3/envs/MonoGS/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 382, in _check_cuda_version
          torch_cuda_version = packaging.version.parse(torch.version.cuda)
        File "/home/cz/anaconda3/envs/MonoGS/lib/python3.7/site-packages/pkg_resources/_vendor/packaging/version.py", line 49, in parse
          return Version(version)
        File "/home/cz/anaconda3/envs/MonoGS/lib/python3.7/site-packages/pkg_resources/_vendor/packaging/version.py", line 264, in __init__
          match = self._regex.search(version)
      TypeError: expected string or bytes-like object
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> simple-knn

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
czeyveli1 commented 3 months ago

I think the problem is about the version of CUDA. My first CUDA version was 12.1 but it didnt work. I have changed the CUDA version to 11.7 but get same error...

notu97 commented 3 months ago

didi you check nvcc --version inside your Conda environment?

czeyveli1 commented 3 months ago
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2022 NVIDIA Corporation
Built on Tue_May__3_18:49:52_PDT_2022
Cuda compilation tools, release 11.7, V11.7.64
Build cuda_11.7.r11.7/compiler.31294372_0
notu97 commented 3 months ago

image install cuda 12.1 and its corresponding tool kit. then use the command in above image to install the correct pytorch version. or install the correct pytorch version for cuda 11.7: conda install pytorch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2 pytorch-cuda=11.7 -c pytorch -c nvidia

czeyveli1 commented 3 months ago

When I check the NVIDIA GPU drivers using nvidia-smi command, my Nvidia Cuda version isNVIDIA-SMI 535.183.01 Driver Version: 535.183.01 CUDA Version: 12.2, but we still try to install the 12.1 version. Does it cause my problem?

notu97 commented 3 months ago

When I check the NVIDIA GPU drivers using nvidia-smi command, my Nvidia Cuda version isNVIDIA-SMI 535.183.01 Driver Version: 535.183.01 CUDA Version: 12.2, but we still try to install the 12.1 version. Does it cause my problem?

No, that doesn't cause any problem.