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

其他回答

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

以前,我升级到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安装,例如,2.7/3.4/3.5,你有必要检查你的安装路径。:)

对我来说,我也有类似的问题。在我的情况下,我没有注意到计算机之间的python版本不同(32位vs 64位)。

顺便说一下,您仍然可以这样做,但是需要手动替换所有无法识别的whls文件。

例如,对于密码学-36.0.1,从 https://pypi.org/project/cryptography/36.0.1/#files 使用:

cryptography-36.0.1-cp36-abi3-win32。whl(32位) vs cryptography-36.0.1-cp36-abi3-win_amd64。whl(64位)

此外,由于某种原因,在requirements.txt文件和文件夹中的whl文件版本之间存在版本差异。 例如,我在需求文件中有numpy 1.22.3和numpy-1.22.2-cp39-cp39-win32。WHL文件夹。

所以确保它们匹配,并相应地调整需求文件

我也有同样的问题

我从https://pypi.org/project/pip/#files下载了最新的pip

然后……

pip install << downloaded file location >>

然后Pygame和Kivy安装成功了…

cpXX表示Python版本。

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

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