GPV_Pose icon indicating copy to clipboard operation
GPV_Pose copied to clipboard

Encountering issues while installing dependency packages via requirements.txt.

Open jrryzh opened this issue 1 year ago • 0 comments

pip install -r requirements.txt Collecting Markdown==3.3.7 (from -r tmp_requirements.txt (line 1)) Using cached Markdown-3.3.7-py3-none-any.whl (97 kB) Collecting MarkupSafe==2.0.1 (from -r tmp_requirements.txt (line 2)) Using cached MarkupSafe-2.0.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (30 kB) Collecting matplotlib==3.4.3 (from -r tmp_requirements.txt (line 3)) Using cached matplotlib-3.4.3-cp38-cp38-manylinux1_x86_64.whl (10.3 MB) Collecting matplotlib-inline==0.1.3 (from -r tmp_requirements.txt (line 4)) Using cached matplotlib_inline-0.1.3-py3-none-any.whl (8.2 kB) Collecting mistune==0.8.4 (from -r tmp_requirements.txt (line 5)) Using cached mistune-0.8.4-py2.py3-none-any.whl (16 kB) Collecting mkl==2022.1.0 (from -r tmp_requirements.txt (line 6)) Using cached mkl-2022.1.0-py2.py3-none-manylinux1_x86_64.whl (256.4 MB) Collecting mkl-fft==1.3.1 (from -r tmp_requirements.txt (line 7)) Using cached mkl_fft-1.3.1-17-cp38-cp38-manylinux2014_x86_64.whl (252 kB) Collecting mkl-random==1.2.2 (from -r tmp_requirements.txt (line 8)) Using cached mkl_random-1.2.2-78-cp38-cp38-manylinux2014_x86_64.whl.metadata (2.5 kB) Collecting mkl-service==2.4.0 (from -r tmp_requirements.txt (line 9)) Using cached mkl_service-2.4.0-35-cp38-cp38-manylinux2014_x86_64.whl.metadata (2.4 kB) Collecting mmcv==1.5.0 (from -r tmp_requirements.txt (line 10)) Using cached mmcv-1.5.0.tar.gz (530 kB) Preparing metadata (setup.py) ... done Collecting multidict==6.0.2 (from -r tmp_requirements.txt (line 11)) Using cached multidict-6.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (121 kB) Collecting mypy-extensions==0.4.3 (from -r tmp_requirements.txt (line 12)) Using cached mypy_extensions-0.4.3-py2.py3-none-any.whl (4.5 kB) Collecting nbclassic==0.3.2 (from -r tmp_requirements.txt (line 13)) Using cached nbclassic-0.3.2-py3-none-any.whl (18 kB) Collecting nbclient==0.5.4 (from -r tmp_requirements.txt (line 14)) Using cached nbclient-0.5.4-py3-none-any.whl (66 kB) Collecting nbconvert==6.2.0 (from -r tmp_requirements.txt (line 15)) Using cached nbconvert-6.2.0-py3-none-any.whl (553 kB) Collecting nbformat==5.1.3 (from -r tmp_requirements.txt (line 16)) Using cached nbformat-5.1.3-py3-none-any.whl (178 kB) Collecting nest-asyncio==1.5.1 (from -r tmp_requirements.txt (line 17)) Using cached nest_asyncio-1.5.1-py3-none-any.whl (5.0 kB) Collecting networkx==2.6.3 (from -r tmp_requirements.txt (line 18)) Using cached networkx-2.6.3-py3-none-any.whl (1.9 MB) Collecting nose==1.3.7 (from -r tmp_requirements.txt (line 20)) Using cached nose-1.3.7-py3-none-any.whl (154 kB) Requirement already satisfied: importlib-metadata>=4.4 in /home/nvidia/anaconda3/envs/gpv/lib/python3.8/site-packages (from Markdown==3.3.7->-r tmp_requirements.txt (line 1)) (4.11.3) Requirement already satisfied: cycler>=0.10 in /home/nvidia/anaconda3/envs/gpv/lib/python3.8/site-packages (from matplotlib==3.4.3->-r tmp_requirements.txt (line 3)) (0.10.0) Requirement already satisfied: kiwisolver>=1.0.1 in /home/nvidia/anaconda3/envs/gpv/lib/python3.8/site-packages (from matplotlib==3.4.3->-r tmp_requirements.txt (line 3)) (1.3.2) Requirement already satisfied: numpy>=1.16 in /home/nvidia/anaconda3/envs/gpv/lib/python3.8/site-packages (from matplotlib==3.4.3->-r tmp_requirements.txt (line 3)) (1.24.4) Requirement already satisfied: pillow>=6.2.0 in /home/nvidia/anaconda3/envs/gpv/lib/python3.8/site-packages (from matplotlib==3.4.3->-r tmp_requirements.txt (line 3)) (10.0.1) Requirement already satisfied: pyparsing>=2.2.1 in /home/nvidia/anaconda3/envs/gpv/lib/python3.8/site-packages (from matplotlib==3.4.3->-r tmp_requirements.txt (line 3)) (3.1.1) Requirement already satisfied: python-dateutil>=2.7 in /home/nvidia/anaconda3/envs/gpv/lib/python3.8/site-packages (from matplotlib==3.4.3->-r tmp_requirements.txt (line 3)) (2.8.2) Requirement already satisfied: traitlets in /home/nvidia/anaconda3/envs/gpv/lib/python3.8/site-packages (from matplotlib-inline==0.1.3->-r tmp_requirements.txt (line 4)) (5.13.0) Requirement already satisfied: intel-openmp==2022.* in /home/nvidia/anaconda3/envs/gpv/lib/python3.8/site-packages (from mkl==2022.1.0->-r tmp_requirements.txt (line 6)) (2022.1.0) Requirement already satisfied: tbb==2021.* in /home/nvidia/anaconda3/envs/gpv/lib/python3.8/site-packages (from mkl==2022.1.0->-r tmp_requirements.txt (line 6)) (2021.10.0) Collecting numpy>=1.16 (from matplotlib==3.4.3->-r tmp_requirements.txt (line 3)) Downloading numpy-1.22.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (16.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 16.9/16.9 MB 11.1 MB/s eta 0:00:00 Requirement already satisfied: dpcpp_cpp_rt in /home/nvidia/anaconda3/envs/gpv/lib/python3.8/site-packages (from mkl-fft==1.3.1->-r tmp_requirements.txt (line 7)) (2022.1.0) INFO: pip is looking at multiple versions of mkl-random to determine which version is compatible with other requirements. This could take a while. ERROR: Cannot install -r tmp_requirements.txt (line 3), -r tmp_requirements.txt (line 7) and -r tmp_requirements.txt (line 8) because these package versions have conflicting dependencies.

The conflict is caused by: matplotlib 3.4.3 depends on numpy>=1.16 mkl-fft 1.3.1 depends on numpy<1.23.0 and >=1.22.3 mkl-random 1.2.2 depends on numpy<1.25.0 and >=1.24.3

To fix this you could try to:

  1. loosen the range of package versions you've specified
  2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

(Additional information: Here, I have only installed lines 81 to 100 of the requirements.txt file.

jrryzh avatar Nov 10 '23 08:11 jrryzh