-
Notifications
You must be signed in to change notification settings - Fork 11.1k
Description
When I run this pip install, I meet the following installation problems. How to fix it? Thanks.
(venv) (base) ➜ Deep-Live-Cam git:(main) pip install -r requirements.txt
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu128
Ignoring torch: markers 'sys_platform != "darwin"' don't match your environment
Ignoring torchvision: markers 'sys_platform != "darwin"' don't match your environment
Ignoring onnxruntime-gpu: markers 'sys_platform != "darwin"' don't match your environment
Ignoring tensorflow: markers 'sys_platform != "darwin"' don't match your environment
Collecting git+https://github.com/xinntao/BasicSR.git@master (from -r requirements.txt (line 22))
Cloning https://github.com/xinntao/BasicSR.git (to revision master) to /private/var/folders/_m/4_99y9qj4sg9_vs2sx96ry5m0000gn/T/pip-req-build-v4u6zwos
Running command git clone --filter=blob:none --quiet https://github.com/xinntao/BasicSR.git /private/var/folders/_m/4_99y9qj4sg9_vs2sx96ry5m0000gn/T/pip-req-build-v4u6zwos
Resolved https://github.com/xinntao/BasicSR.git to commit 8d56e3a045f9fb3e1d8872f92ee4a4f07f886b0a
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Collecting git+https://github.com/TencentARC/GFPGAN.git@master (from -r requirements.txt (line 23))
Cloning https://github.com/TencentARC/GFPGAN.git (to revision master) to /private/var/folders/_m/4_99y9qj4sg9_vs2sx96ry5m0000gn/T/pip-req-build-sg9_0hzu
Running command git clone --filter=blob:none --quiet https://github.com/TencentARC/GFPGAN.git /private/var/folders/_m/4_99y9qj4sg9_vs2sx96ry5m0000gn/T/pip-req-build-sg9_0hzu
Resolved https://github.com/TencentARC/GFPGAN.git to commit 7552a7791caad982045a7bbe5634bbf1cd5c8679
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Collecting numpy<2,>=1.23.5 (from -r requirements.txt (line 3))
Downloading numpy-1.26.4-cp312-cp312-macosx_11_0_arm64.whl.metadata (61 kB)
Collecting typing-extensions>=4.8.0 (from -r requirements.txt (line 4))
Using cached https://download.pytorch.org/whl/typing_extensions-4.15.0-py3-none-any.whl.metadata (3.3 kB)
Collecting opencv-python==4.10.0.84 (from -r requirements.txt (line 5))
Using cached opencv_python-4.10.0.84-cp37-abi3-macosx_11_0_arm64.whl.metadata (20 kB)
Collecting cv2_enumerate_cameras==1.1.15 (from -r requirements.txt (line 6))
Using cached cv2_enumerate_cameras-1.1.15-py3-none-any.whl.metadata (44 kB)
Collecting onnx==1.18.0 (from -r requirements.txt (line 7))
Using cached onnx-1.18.0-cp312-cp312-macosx_12_0_universal2.whl.metadata (6.9 kB)
Collecting insightface==0.7.3 (from -r requirements.txt (line 8))
Using cached insightface-0.7.3.tar.gz (439 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting psutil==5.9.8 (from -r requirements.txt (line 9))
Using cached psutil-5.9.8-cp38-abi3-macosx_11_0_arm64.whl.metadata (21 kB)
Collecting tk==0.1.0 (from -r requirements.txt (line 10))
Using cached tk-0.1.0-py3-none-any.whl.metadata (693 bytes)
Collecting customtkinter==5.2.2 (from -r requirements.txt (line 11))
Using cached customtkinter-5.2.2-py3-none-any.whl.metadata (677 bytes)
Collecting pillow==11.1.0 (from -r requirements.txt (line 12))
Downloading pillow-11.1.0-cp312-cp312-macosx_11_0_arm64.whl.metadata (9.1 kB)
ERROR: Ignored the following versions that require a different python version: 1.21.2 Requires-Python >=3.7,<3.11; 1.21.3 Requires-Python >=3.7,<3.11; 1.21.4 Requires-Python >=3.7,<3.11; 1.21.5 Requires-Python >=3.7,<3.11; 1.21.6 Requires-Python >=3.7,<3.11
ERROR: Could not find a version that satisfies the requirement torch==2.8.0+cu128 (from versions: 2.2.0, 2.2.1, 2.2.2, 2.3.0, 2.3.1, 2.4.0, 2.4.1, 2.5.0, 2.5.1, 2.6.0, 2.7.0, 2.7.1, 2.8.0, 2.9.0)
[notice] A new release of pip is available: 24.2 -> 25.3
[notice] To update, run: pip install --upgrade pip
ERROR: No matching distribution found for torch==2.8.0+cu128