问题:在此平台上不支持filename.whl的滚轮

我想安装scipy-0.15.1-cp33-none-win_amd64.whl已保存到本地驱动器的文件。我在用:

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 is not supported wheel on this platform

我想知道是什么问题?

I would like to install scipy-0.15.1-cp33-none-win_amd64.whl that I have saved to local drive. I am using:

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)]

when I run:

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

I get the following error:

scipy-0.15.1-cp33-none-win_amd64.whl is not supported wheel on this platform

I would like to know what the problem is?


回答 0

cp33意味着CPython 3.3您需要scipy‑0.15.1‑cp27‑none‑win_amd64.whl

cp33 means CPython 3.3 you need scipy‑0.15.1‑cp27‑none‑win_amd64.whl instead.


回答 1

这也可能是由于使用过时pip的车轮文件而引起的。

我非常困惑,因为我正在安装numpy-1.10.4+mkl-cp27-cp27m-win_amd64.whl(从此处开始),它绝对是我的Python安装(Windows 64位Python 2.7.11)的正确版本。我收到“此平台上不支持的车轮”错误。

升级点已python -m pip install --upgrade pip解决。

This can also be caused by using an out-of-date pip with a recent wheel file.

I was very confused, because I was installing numpy-1.10.4+mkl-cp27-cp27m-win_amd64.whl (from here), and it is definitely the correct version for my Python installation (Windows 64-bit Python 2.7.11). I got the “not supported wheel on this platform” error.

Upgrading pip with python -m pip install --upgrade pip solved it.


回答 2

安装scipy-0.17.0-cp35-none-win_amd64.whl时遇到相同的问题,我的Python版本是3.5。它返回了相同的错误消息:

 scipy-0.17.0-cp35-none-win_amd64.whl is not supported wheel on this platform.

我意识到amd64与Windows不相关,而与Python版本有关。实际上,我在64位Windows上使用32位Python。安装以下文件解决了该问题:

scipy-0.17.0-cp35-none-win32.whl

I had the same problem while installing scipy-0.17.0-cp35-none-win_amd64.whl and my Python version is 3.5. It returned the same error message:

 scipy-0.17.0-cp35-none-win_amd64.whl is not supported wheel on this platform.

I realized that amd64 is not about my Windows, but about the Python version. Actually I am using a 32 bit Python on a 64 bit Windows. Installing the following file solved the issue:

scipy-0.17.0-cp35-none-win32.whl

回答 3

之所以遇到此问题,是因为scipy-0.17.0-cp27-none-win_amd64 (1)删除了(1)并将包更改为后,我的包()的名称错误scipy-0.17.0-cp27-none-win_amd64,问题得以解决。

I come across this problem because the wrong name of my package (scipy-0.17.0-cp27-none-win_amd64 (1)), after I delete the ‘(1)’ and change the package to scipy-0.17.0-cp27-none-win_amd64, the problem got resolved.


回答 4

如果您是python的新手,请分步阅读或直接直接进入第5步。请按照以下方法在Windows 64位,Python 64位上安装scipy 0.18.1。 注意以下版本: 1. Python 2. Windows 3. .whl版本的numpy和scipy文件4. 首先安装numpy,然后安装scipy。

pip install FileName.whl
  1. ForNumpy:http: //www.lfd.uci.edu/~gohlke/pythonlibs/#numpy ForScipy:http://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy

注意文件名(我的意思是检查cp no)。例如:scipy-0.18.1-cp35-cp35m-win_amd64.whl要检查您的点子支持哪个cp,请转到下面的第2点。

如果您正在使用.whl文件。可能会发生以下错误。

  1. 您正在使用pip版本7.1.0,但是版本8.1.2可用。

您应该考虑通过’python -m pip install –upgrade pip’命令进行升级

  1. 在此平台上不支持scipy-0.15.1-cp33-none-win_amd64.whl.whl

对于上述错误:启动Python(以我的情况为3.5),键入: import pip print(pip.pep425tags.get_supported())

输出:

[(’cp35’,’cp35m’,’win_amd64’),(’cp35’,’none’,’win_amd64’),(’py3’,’none’,’win_amd64’),(’cp35’,’none ‘,’any’),(’cp3’,’none’,’any’),(’py35’,’none’,’any’),(’py3’,’none’,’any’),( ‘py34’,’none’,’any’),(’py33’,’none’,’any’),(’py32’,’none’,’any’),(’py31’,’none’, ‘any’),(’py30’,’none’,’any’)]

在输出中,您将看到cp35在那里,因此为numpy和scipy下载cp35。欢迎进一步编辑!!!!

If you are totally new to python read step by step or go directly to 5th step directly. Follow the below method to install scipy 0.18.1 on Windows 64-bit , Python 64-bit . Be careful with the versions of 1. Python 2. Windows 3. .whl version of numpy and scipy files 4. First install numpy and then scipy.

pip install FileName.whl
  1. ForNumpy:http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy ForScipy:http://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy

Be aware of the file name ( what I mean is check the cp no). Ex :scipy-0.18.1-cp35-cp35m-win_amd64.whl To check which cp is supported by your pip , go to point No 2 below.

If you are using .whl file . Following errors are likely to occur .

  1. You are using pip version 7.1.0, however version 8.1.2 is available.

You should consider upgrading via the ‘python -m pip install –upgrade pip’ command

  1. scipy-0.15.1-cp33-none-win_amd64.whl.whl is not supported wheel on this platform

For the above error : start Python(in my case 3.5), type : import pip print(pip.pep425tags.get_supported())

output :

[(‘cp35’, ‘cp35m’, ‘win_amd64’), (‘cp35’, ‘none’, ‘win_amd64’), (‘py3’, ‘none’, ‘win_amd64’), (‘cp35’, ‘none’, ‘any’), (‘cp3’, ‘none’, ‘any’), (‘py35’, ‘none’, ‘any’), (‘py3’, ‘none’, ‘any’), (‘py34’, ‘none’, ‘any’), (‘py33’, ‘none’, ‘any’), (‘py32’, ‘none’, ‘any’), (‘py31’, ‘none’, ‘any’), (‘py30’, ‘none’, ‘any’)]

In the output you will observe cp35 is there , so download cp35 for numpy as well as scipy. Further edits are most welcome !!!!


回答 5

将文件名更改为scipy-0.15.1-cp33-none-any.whl,然后运行以下命令:

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

它应该工作:-)

Change the filename to scipy-0.15.1-cp33-none-any.whl and then run this command:

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

It should work :-)


回答 6

首先,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.whl”,请使用Win32版本。我的意思是安装scipy-0.18.1-cp27-cp27m-win32.whl而不是第一个。这是因为您可能在64位系统上运行32位python。最后一步为我成功安装了scipy。

First of all, cp33 means that it is to be used when you have Python 3.3 running on your system. So if you have Python 2.7 on your system, try installing the cp27 version.

Installing scipy-0.18.1-cp27-cp27m-win_amd64.whl, needs a Python 2.7 running and a 64-bit system.

If you are still getting an error saying “scipy-0.18.1-cp27-cp27m-win_amd64.whl is not a supported wheel on this platform”, then go for the win32 version. By this I mean install scipy-0.18.1-cp27-cp27m-win32.whl instead of the first one. This is because you might be running a 32-bit python on a 64-bit system. The last step successfully installed scipy for me.


回答 7

请注意,所有平台要求均来自* .whl文件的名称

因此,在重命名 * .whl软件包时要非常小心。我偶尔将我新编译的tensorflow包从

tensorflow-1.11.0-cp36-cp36m-linux_x86_64.whl

tensorflow-1.11.0-cp36-cp36m-linux_x86_64_gpu.whl

只是想提醒自己有关gpu支持的问题,

tensorflow-1.11.0-cp36-cp36m-linux_x86_64_gpu.whl在此平台上不受支持。

错误大约半小时。

Please do notice that all platform requirements are taken from the name of the *.whl file!

So be very careful with renaming of *.whl package. I occasionally renamed my newly compiled tensorflow package from

tensorflow-1.11.0-cp36-cp36m-linux_x86_64.whl

to

tensorflow-1.11.0-cp36-cp36m-linux_x86_64_gpu.whl

just to remind myself about gpu support and struggled with

tensorflow-1.11.0-cp36-cp36m-linux_x86_64_gpu.whl is not a supported wheel on this platform.

error for about half an hour.


回答 8

我尝试安装scikit-image,但是即使我安装的python版本是2.7 32位,当我尝试安装.whl文件时也遇到以下错误。 scikit_image-0.12.3-cp27-cp27m-win32.whl is not a supported wheel on this platform.

但是我在错误消息之前也收到了此消息:

You are using pip version 7.1.0, however version 8.1.2 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

然后,我运行命令python -m pip install --upgrade pip,然后正常pip install scikit_image-0.12.3-cp27-cp27m-win32.whl工作。我希望这可以帮助某人!

I tried to install scikit-image but got the following error when I tried to install the .whl file even though my installed version of python was 2.7 32-bit. scikit_image-0.12.3-cp27-cp27m-win32.whl is not a supported wheel on this platform.

However I also got this message before the error message:

You are using pip version 7.1.0, however version 8.1.2 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

I then ran the command python -m pip install --upgrade pip and then pip install scikit_image-0.12.3-cp27-cp27m-win32.whl worked fine. I hope this can help someone!


回答 9

我在Windows 7 64bit上为python27安装64位版本时遇到了类似的问题。一切都是最新的,但我得到了消息

scipy-0.18.1-cp27-cp27m-win_amd64.whl is not supported wheel on this platform

比我下载了32位的whl,它起作用了。

pip install scipy-0.18.1-cp27-cp27m-win32.whl

我怀疑问题可能出在我没有AMD处理器,而不是Intel处理器,而scipy 64位版本最后说的是amd64。

I had similar problem, installing a 64-bit version for python27 on windows 7 64bit. Everything was up-to-date, yet I got the message

scipy-0.18.1-cp27-cp27m-win_amd64.whl is not supported wheel on this platform

Than I donwloaded a 32-bit whl and it worked.

pip install scipy-0.18.1-cp27-cp27m-win32.whl

I suspect that the problem was probably that I dont have an AMD processor, rather and intel one, and the scipy 64bit version says amd64 in the end.


回答 10

检查事项:

  1. 您正在下载正确的版本,例如cp27(适用于python 2.7),cp36(适用于python 3.6)。
  2. 检查您的python是哪种架构(32位或64位)?(您可以通过打开python idle并输入来做到这一点)

    import platform  
    platform.architecture()

现在,无论您的系统体系结构如何,都下载该文件。

  1. 检查您使用的文件名是否正确(即,不应在文件名后附加(1),如果您两次下载文件,可能会出现这种情况)

  2. 检查您的点数是否已更新。如果没有,你可以使用

    python -m pip install -upgrade pip

Things to check:

  1. You are downloading proper version like cp27 (means for python 2.7) cp36(means for python 3.6).
  2. 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.

  1. 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)

  2. Check if your pip is updated or not. If not you can use

    python -m pip install -upgrade pip


回答 11

我正在IIS上使用Python34部署Flask。以下步骤对我有用

  1. 升级点
  2. 安装numpy的wheel文件
  3. 点安装熊猫

I’m deploying Flask using Python34 on IIS. The following steps worked for me

  1. Upgrade pip
  2. Install the wheel file for numpy
  3. pip install pandas

回答 12

对于将dlib安装到python [Python 3.6.9]中的情况,我发现将WHL文件名从dlib-19.8.1-cp36-cp36m-win_amd64.whl更改dlib-19.8.1-cp36-none-any .whl为我工作。

这是我运行pip install来安装dlib的方法:

pip3安装dlib-19.8.1-cp36-none-any.whl

但是,我仍然想知道是否可以通过pip命令安装WHL文件而不更改名称。

For my case with dlib installation into my python [Python 3.6.9], I have found that changing WHL file name from dlib-19.8.1-cp36-cp36m-win_amd64.whl to dlib-19.8.1-cp36-none-any.whl works for me.

Here is the way I run pip install to install dlib:

pip3 install dlib-19.8.1-cp36-none-any.whl

However, I still wonder whether there are any alternatives to install of WHL file by pip command without changing the name.


回答 13

尝试使用conda进行安装,似乎可以即时解析版本:
conda install scikit-learn

try conda for installation, seems to resolve versions on the fly:
conda install scikit-learn


回答 14

仅当您的系统上有多个python(例如2.7 / 3.4 / 3.5)时,就需要检查安装路径。:)

Simply if you have more than one python on your system for example 2.7/3.4/3.5, it’s necessary you check your installation path. :)


回答 15

我正在使用Python2.7和Windows 64位系统。我lxml-3.8.0-cp27-cp27m-win_amd64.whl在执行pip install lxml-3.8.0-cp27-cp27m-win_amd64.whl “运行” 时遇到相同的错误pip install lxml,它会自动检测并成功安装Win32版本(尽管我的系统是Windows-64bit)

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的答案。

I am using Python2.7 and Windows 64-bit system. I was getting the same error for lxml-3.8.0-cp27-cp27m-win_amd64.whl while doing pip install lxml-3.8.0-cp27-cp27m-win_amd64.whl Run pip install lxml and it auto-detected and successfully installed the win32 version (though my system is Windows-64bit)

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

So, I will go with @1man’s answer.


回答 16

在Tensorflow配置期间,我指定了python3.6。但是我系统上的默认python是python2.7。因此,在我的情况下,点子等于2.7点子。为了我

pip3 install /tmp/tensorflow_pkg/NAME.whl

做到了。

During Tensorflow configuration I specified python3.6. But default python on my system is python2.7. Thus pip in my case means pip for 2.7. For me

pip3 install /tmp/tensorflow_pkg/NAME.whl

did the trick.


回答 17

在我的情况下[Win64,Python 2.7,cygwin],问题是缺少一个gcc

使用 apt-cyg install gcc-core使我能够pip2 wheel ...自动安装车轮。

In my case [Win64, Python 2.7, cygwin] the issue was with a missing gcc.

Using apt-cyg install gcc-core enabled me to then use pip2 wheel ... to install my wheels automatically.


回答 18

最好检查要在其中安装软件包的python版本。如果转轮是为python3构建的,而您的python版本是python2.x,则可能会出现此错误。使用pip安装时,请遵循以下约定

python2 -m pip install XXXXXX.whl #if .whl is for python2
python3 -m pip install XXXXXX.whl #if .whl is for python3

It’s better to check the version of python where you want to install your package. If the wheel was built for python3 and your python version is python2.x you may get this error. While installing using pip follow this convention

python2 -m pip install XXXXXX.whl #if .whl is for python2
python3 -m pip install XXXXXX.whl #if .whl is for python3

回答 19

就我而言,这与以前未安装GDAL内核有关。有关如何安装GDAL和底图库的指南,请访问:https : //github.com/felipunky/GISPython/blob/master/README.md

In my case it had to do with not having installed previously the GDAL core. For a guide on how to install the GDAL and Basemap libraries go to: https://github.com/felipunky/GISPython/blob/master/README.md


回答 20

对我来说,当我选择正确的Python版本而不是计算机版本之一时,它可以工作。

我的是32位的,而我的计算机是64位的。这就是问题所在,并修复了32位版本。

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

mysqlclient-1.3.13-cp37-cp37m-win32.whl

再一次,请确保选择位的python版本,而不是系统版本。

For me, it worked when I selected the correct bit of my Python version, NOT the one of my computer version.

Mine is 32bit, and my computer is 64bit. That was the problem and the 32bit version of fixed it.

To be exact, here is the one that I downloaded and worked for me:

mysqlclient-1.3.13-cp37-cp37m-win32.whl

Once again, just make sure to chose your python version of bits and not your system one.


回答 21

我尝试了上面的一堆东西,无济于事。

以前,我已升级到pip 18.1。

尝试时(对于pyFltk)保持以下错误:

从fltk import *

ImportError:DLL加载失败%1不是有效的Win32应用程序

我的机器不支持* .whl文件,或者无法从distutils中删除正确的文件,这引起了各种各样的错误。

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

pyFltk-1.3.3.1-cp36-cp36m-win_amd64.whl,但我一直收到错误,所以…

它要求安装pip 9.0.3。

我将点子的版本降级到9.0.3

点安装pip = 9.0.3

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

这也涉及到:这里

I tried a bunch of the stuff above to no avail.

Previously, I upgraded to pip 18.1.

Kept getting the following error when trying (for pyFltk):

from fltk import *

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

I was getting all sorts of errors about the *.whl file not being supported by my machine or something about being unable to remove the correct files from distutils.

Went back to my notes and they indicated that the whl file:

pyFltk-1.3.3.1-cp36-cp36m-win_amd64.whl but I kept getting the error above sooo…

it required pip 9.0.3 to install.

I downgraded my version of pip to 9.0.3

pip install pip=9.0.3

and the .whl file installed properly.

This is also related to: here


回答 22

我正在尝试验证在Python 3.6上新创建的虚拟环境中此处指定的TensorFlow的安装。运行时:

pip3 install --ignore-installed --upgrade "/Users/Salman/Downloads/tensorflow-1.12.0-cp37-cp37m-macosx_10_13_x86_64.whl"

我收到错误和/或警告:

tensorflow-1.12.0-cp37-cp37m-macosx_10_13_x86_64.whl is not a supported wheel on this platform.

因为我以前从升级点子PIP 3,我简单地更换PIPPIP 3,如下所示:

pip3 install --ignore-installed --upgrade "/Users/Salman/Downloads/tensorflow-1.12.0-cp37-cp37m-macosx_10_13_x86_64.whl"

它就像一个魅力!

I was trying to verify the installation of TensorFlow as specified here on a newly created virtual environment on Python 3.6. On running:

pip3 install --ignore-installed --upgrade "/Users/Salman/Downloads/tensorflow-1.12.0-cp37-cp37m-macosx_10_13_x86_64.whl"

I get the error and/or warning:

tensorflow-1.12.0-cp37-cp37m-macosx_10_13_x86_64.whl is not a supported wheel on this platform.

Since I had previously upgraded from pip to pip3, I simply replaced pip with pip3 as in:

pip3 install --ignore-installed --upgrade "/Users/Salman/Downloads/tensorflow-1.12.0-cp37-cp37m-macosx_10_13_x86_64.whl"

and it worked like a charm!


回答 23

我有同样的问题

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

然后…。pip安装<<下载的文件位置>>

pygame和kivy安装成功了…谢谢… !!

I had the same problem

I downloaded latest pip from https://pypi.org/project/pip/#files

and then…. pip install << downloaded file location >>

then pygame and kivy installation worked… Thanks…!!


回答 24

好的,问题很容易。Tensorflow需要python 3.4-3.7和64bit。我看到比您正在使用python 2.7。

在此处阅读tensorflow安装说明:https ://www.tensorflow.org/install/pip

Alright, the problem is easy. Tensorflow require python 3.4 – 3.7 and 64bit. I see than you’re using python 2.7.

Read the tensorflow install instructions here: https://www.tensorflow.org/install/pip


声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。