ERROR: Could not find a version that satisfies the requirement torch==1.2.0(from versions: none) ERROR:No matching distribution found for torch==1.2.0
Question:
I’m trying to install yolov5 on my Mac M1 using the followwing commands:
git clone https://github.com/ultralytics/yolov5.git
then:
cd yolov5
But when I tried to install the requirmets from the requirments.txt file with below command:
pip install -r requirements.txt
The instllation complete but show below error at the end:
ERROR: Could not find a version that satisfies the requirement torch>=1.7.0 (from versions: none)
ERROR: No matching distribution found for torch>=1.7.0
I don’t know which version of torch I have to use to complete the installation
Answers:
Looks like this issue has been a regular for the latest python versions.
Could you please try downgrading your python version to 3.8 and retry your requirements.txt
I’m trying to install yolov5 on my Mac M1 using the followwing commands:
git clone https://github.com/ultralytics/yolov5.git
then:
cd yolov5
But when I tried to install the requirmets from the requirments.txt file with below command:
pip install -r requirements.txt
The instllation complete but show below error at the end:
ERROR: Could not find a version that satisfies the requirement torch>=1.7.0 (from versions: none)
ERROR: No matching distribution found for torch>=1.7.0
I don’t know which version of torch I have to use to complete the installation
Looks like this issue has been a regular for the latest python versions.
Could you please try downgrading your python version to 3.8 and retry your requirements.txt