Conflicting dependencies while installing torch==1.10.0, torchaudio==0.10.0, and torchvision==0.11.0 in my Python environment
I’m having trouble installing the following dependencies in my Python environment:
torch==1.10.0+cpu
torchaudio==0.10.0
torchvision==0.11.0
pyannote-audio==0.0.1
lightning==2.3.3
numpy
scipy
pandas
soundfile
matplotlib
When running pip install -r requirements.txt, I encounter the following error:
ERROR: Cannot install -r requirements.txt (line 6), -r requirements.txt (line 7) and torch==1.10.0 because these package versions have conflicting dependencies.
The conflict is caused by:
The user requested torch==1.10.0
torchaudio 0.10.0 depends on torch==1.10.0
torchvision 0.11.0 depends on torch==1.10.0+cpu
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip to attempt to solve the dependency conflict
I am using a CPU-only environment (no CUDA).
My current Python version is 3.8.
Read more here: Source link
