我想安装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在这个平台上不是一个有支撑的轮子

有什么问题吗?


当前回答

我在IIS上使用Python 3.4部署Flask。

下面的步骤对我很有效:

升级皮普 为NumPy安装wheel文件 PIP安装熊猫

其他回答

需要检查的事项:

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意味着当您的系统上运行Python 3.3时将使用它。因此,如果您的系统上有Python 2.7,请尝试安装cp27版本。

安装scipy-0.18.1-cp27-cp27m-win_amd64。whl,需要运行Python 2.7和64位系统。

如果您仍然得到一个错误提示“scipy-0.18.1-cp27-cp27m-win_amd64. sh”。WHL在这个平台上不受支持”,那么就去win32版本吧。 我的意思是安装scipy-0.18.1-cp27-cp27m-win32。WHL而不是第一个。 这是因为您可能在64位系统上运行32位的python。 最后一步成功为我安装了scipy。

我使用的是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的答案。

我在之前的回答中尝试了很多东西,但都没有用。

以前,我升级到pip 18.1,但我在尝试(对于pyFltk)时一直得到以下错误:

>>from fltk import *

ImportError: DLL load failed %1 is not a valid Win32 Application

我得到了关于*的各种错误。我的机器不支持WHL文件,或者无法从distutils中删除正确的文件。

我回到我的笔记,他们指出whl文件:

pyFltk-1.3.3.1-cp36-cp36m-win_amd64。但是我总是得到上面的错误,所以…

需要安装PIP 9.0.3。

我把我的pip版本降级到9.0.3:

pip install pip=9.0.3

并且正确安装了.whl文件。

这也和:here有关

对我来说,当我选择了我的Python版本的正确位,而不是我的计算机版本的位时,它就工作了。

我的是32位的,我的电脑是64位的。这就是问题所在,32位版本修复了它。

确切地说,下面是我下载并为我工作的一个:

mysqlclient-1.3.13-cp37-cp37m-win32.whl

再次强调,只要确保选择你的Python版本的比特,而不是你的系统版本。