小编ran*_*and的帖子

Python轮:不支持cp27mu

我正在尝试在Linux上安装pytorch(http://pytorch.org/),根据我的机器配置,我应该运行的命令是:

pip install https://s3.amazonaws.com/pytorch/whl/torch-0.1.6.post17-cp27-cp27mu-linux_x86_64.whl

在一台机器上(Linux发行版Slackware 14.1),安装失败并显示错误:torch-0.1.6.post17-cp27-cp27mu-linux_x86_64.whl is not a supported wheel on this platform.,而另一台(Ubuntu 15.10)则成功.根据我的理解,问题似乎是cp27mu车轮名称.

使用import pip; print(pip.pep425tags.get_supported())Python shell中的命令,我从Slackware机器获取:

[('cp27', 'cp27m', 'manylinux1_x86_64'), ('cp27', 'cp27m', 'linux_x86_64'), ('cp27', 'none', 'manylinux1_x86_64'), ('cp27', 'none', 'linux_x86_64'), ('py2', 'none', 'manylinux1_x86_64'), ('py2', 'none', 'linux_x86_64'), ('cp27', 'none', 'any'), ('cp2', 'none', 'any'), ('py27', 'none', 'any'), ('py2', 'none', 'any'), ('py26', 'none', 'any'), ('py25', 'none', 'any'), ('py24', 'none', 'any'), ('py23', 'none', 'any'), ('py22', 'none', 'any'), ('py21', 'none', 'any'), ('py20', 'none', 'any')]

这来自Ubuntu机器:

[('cp27', …

python linux unicode pytorch

10
推荐指数
1
解决办法
3996
查看次数

标签 统计

linux ×1

python ×1

pytorch ×1

unicode ×1