ERROR: Could not find a version that satisfies the requirement python>=3.6

git上clone的一個項目,在

pip install -r requirements.txt

的時候出現瞭如下錯誤 :

ERROR: Could not find a version that satisfies the requirement python>=3.6 (from -r requirements.txt (line 1)) (from versions: none)
ERROR: No matching distribution found for python>=3.6 (from -r requirements.txt (line 1))

 檢查發現,requirements.txt裏包含了python語言本身。如下:

python>=3.6
torch>=0.4.0
torchvision
torchsummary
tensorboardx
natsort
numpy
pillow
scipy
scikit-image
sklearn

檢查語言環境發現沒問題後,刪除第一行python>=3.6。

再次運行發現沒有問題

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章