我想安装scipy-0.15.1-cp33-none-win_amd64。我已经保存到本地驱动器。我正在使用:

pip 6.0.8 from C:\Python27\Lib\site-packages
python 2.7.9 (default, Dec 10 2014, 12:28:03) [MSC v.1500 64 bit (AMD64)]

当我跑步时:

pip install scipy-0.15.1-cp33-none-win_amd64.whl

我得到以下错误:

scipy-0.15.1-cp33-none-win_amd64。WHL在这个平台上不是一个有支撑的轮子

有什么问题吗?


当前回答

需要检查的事项:

You are downloading proper version like cp27 (means for Python 2.7) cp36 (means for Python 3.6). Check of which architecture (32 bit or 64 bit) your Python is (you can do it so by opening Python IDLE and typing). import platform platform.architecture() Now download the file of that bit, irrespective of your system architecture. Check whether you're using the correct filename (i.e., it should not be appended with (1) which might happen if you download the file twice) Check if your pip is updated or not. If not, you can use: python -m pip install -upgrade pip

其他回答

我试图安装scikit-image,但当我试图安装.whl文件时,我得到了以下错误,即使我安装的Python版本是2.7 32位:

scikit_image-0.12.3-cp27-cp27m-win32。WHL在这个平台上不是一个有支撑的轮子。

然而,在错误消息之前,我也得到了这条消息:

您使用的是pip版本7.1.0,但是版本8.1.2是可用的。 您应该考虑通过'python -m pip install——upgrade pip'命令进行升级。

然后我运行命令python -m pip install——upgrade pip,然后pip install scikit_image-0.12.3-cp27-cp27m-win32。WHL工作正常。

cpXX表示Python版本。

无论您在系统中安装了哪个Python X.X版本,请下载特定的cpxx文件。

例如,如果您已经安装了Python 3.7版本 安装 packagename-packageversion-cp37-cp37m-osx_10_13_x86_64.whl

在我的情况下(Windows 64位,Python 2.7和Cygwin),问题是缺少gcc。

使用apt-cyg安装gcc-core使我可以使用pip2 wheel…自动安装车轮。

我使用的是Python 2.7和Windows 64位系统。我得到了同样的错误lxml-3.8.0-cp27-cp27m-win_amd64。在执行PIP安装lxml-3.8.0-cp27-cp27m-win_amd64.whl。

运行pip install lxml,它自动检测并成功安装了Win32版本(尽管我的系统是Windows-64位)

cd C:\Python27
pip install lxml

Collecting lxml
  Downloading lxml-3.8.0-cp27-cp27m-win32.whl (2.9MB)
    100% |################################| 2.9MB 20kB/s
Installing collected packages: lxml
Successfully installed lxml-3.8.0

所以,我选择@1man的答案。

简单地说,如果你的系统上有多个Python安装,例如,2.7/3.4/3.5,你有必要检查你的安装路径。:)