Deep-Live-Cam icon indicating copy to clipboard operation
Deep-Live-Cam copied to clipboard

python version 2.3.0 Requires python =3.11

Open michealwilliam76 opened this issue 5 months ago • 1 comments

when i run this code i got this - please HELP ---

ERROR: Ignored the following versions that require a different python version: 2.3.0 Requires-Python >=3.11; 2.3.0rc1 Requires-Python >=3.11 ERROR: Could not find a version that satisfies the requirement torch==2.5.1+cu118 (from versions: 1.11.0, 1.12.0, 1.12.1, 1.13.0, 1.13.1, 2.0.0, 2.0.1, 2.1.0, 2.1.1, 2.1.2, 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) ERROR: No matching distribution found for torch==2.5.1+cu118

ERROR: Ignored the following versions that require a different python version: 2.3.0 Requires-Python >=3.11; 2.3.0rc1 Requires-Python >=3.11 ERROR: Could not find a version that satisfies the requirement torch==2.5.1+cu118 (from versions: 1.11.0, 1.12.0, 1.12.1, 1.13.0, 1.13.1, 2.0.0, 2.0.1, 2.1.0, 2.1.1, 2.1.2, 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) ERROR: No matching distribution found for torch==2.5.1+cu118

michealwilliam76 avatar Jun 17 '25 07:06 michealwilliam76

torch with cuda should be installed from pytorch index and not from pypi index..

pip install torch torchvision torchaudio torch_tensorrt --index-url https://download.pytorch.org/whl/cu118

this has worked for me. I can use CUDA and Tensor. But make sure you have a CUDA-enabled graphics card on the computer before you do this. Otherwise use CPU

manumaan avatar Jun 17 '25 08:06 manumaan

I change this line

torch==2.8.0+cu128; sys_platform != 'darwin'

form == to !=

zyb0408 avatar Nov 23 '25 13:11 zyb0408