【发布时间】:2019-06-18 21:01:37
【问题描述】:
我按照pytorch网站上的教程命令,但是出现了这样的错误。
错误:torch-1.0.0-cp27m-linux_x86_64.whl 不是有效的车轮文件名。
我使用以下命令进行安装。
pip install https://download.pytorch.org/whl/cu80/torch-1.0.0-cp27-cp27m-linux_x86_64.whl
【问题讨论】:
-
显示以下命令的结果:
python --version、pip --version、uname -a和lsb_release -a。该错误可能是由于版本不兼容。 -
Python 2.7.6 pip 19.0.1 from /usr/local/lib/python2.7/dist-packages/pip (python 2.7) Linux heejae 4.4.0-31-generic #50~14.04 .1-Ubuntu SMP Wed Jul 13 01:07:32 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux heejae@heejae:~$ lsb_release -a 没有可用的 LSB 模块。发行商 ID:Ubuntu 描述:Ubuntu 14.04.5 LTS 版本:14.04 代号:trusty
-
由于我安装了tensorflow,cudnn for python2.7,我无法更改python的版本...
-
有时会出现这种错误...Could not install packages due to an EnvironmentError: HTTPSConnectionPool(host='download.pytorch.org', port=443): Max retries exceeded with url: /whl/cu80/torch-1.0.0-cp27-cp27mu-linux_x86_64.whl(由 SSLError 引起(SSLError(1, '_ssl.c:510: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure'), ))