我想安装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

其他回答

cp33表示CPython 3.3。

你需要scipy - 0.15.1 - cp27 - none - win_amd64。whl代替。

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

请注意,所有的平台需求*都来自于.whl文件的名称!

所以在重命名*时要非常小心。whl包。我偶尔会重命名我新编译的TensorFlow包

tensorflow-1.11.0-cp36-cp36m-linux_x86_64.whl

to

tensorflow-1.11.0-cp36-cp36m-linux_x86_64_gpu.whl

只是为了提醒自己GPU支持的问题

tensorflow-1.11.0-cp36-cp36m-linux_x86_64_gpu。不支持WHL 车轮在这个平台上。

错误持续了大约半小时。

在我的例子中,这与之前没有安装GDAL核心有关。关于如何安装GDAL和Basemap库的指南,请访问GISPython

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

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