ERROR: Could not find a version that satisfies the requirement pytorch==1.5.0 (from versions: 0.1.2,

安装pytorch时报错:

ERROR: Could not find a version that satisfies the requirement pytorch==1.5.0 (from versions: 0.1.2, 1.0.2)
ERROR: No matching distribution found for pytorch==1.5.0

 

解决方法:

确定自己的cuda与python版本

到这里下载对应的whl,然后pip安装

你可能感兴趣的:(python,python)