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

有什么问题吗?


当前回答

好了,问题很简单。TensorFlow要求Python 3.4 - 3.7和64位。我看到你用的是Python 2.7。

阅读使用pip安装TensorFlow中的TensorFlow安装说明。

其他回答

需要检查的事项:

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

在TensorFlow配置期间,我指定了Python 3.6。但是默认情况下,我系统上的Python是Python 2.7。因此,在我的例子中,pip意味着2.7的pip。对我来说

pip3 install /tmp/tensorflow_pkg/NAME.whl

成功了。

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

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

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

mysqlclient-1.3.13-cp37-cp37m-win32.whl

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

我遇到这个问题是因为我的包的名称错误(scipy-0.17.0-cp27-none-win_amd64(1))。

在我删除了'(1)'并将包更改为 问题得到解决。

这个错误可能是因为armv7和armv6之间的差异。如果您下载了armv7的软件包并尝试安装armv6,则会出现此错误。