无法使用车轮文件安装Tensorflow

时间:2019-01-23 00:22:30

标签: python tensorflow pip

我正在尝试安装tensorflow。我有python 3.6.4,并且正在运行Windows 10 64bit。

首先,我尝试了以下两种方法:

pip3 install tensorflow
pip3 install --upgrade tensorflow

但是我得到了错误:

Collecting tensorflow 
Could not find a version that satisfies the requirement tensorflow (from versions: )
No matching distribution found for tensorflow

然后我尝试使用wheel文件安装tensorflow。我将wheel文件保存在与python 3.6相同的文件夹中。我使用的滚轮文件是:

tensorflow-1.12.0-cp36-cp36m-win_amd64.whl

我得到了错误:

tensorflow-1.12.0-cp36-cp36m-win_amd64.whl is not a supported wheel on this platform.

我查看了tensorflow安装guide,但我不明白自己在做什么错。

P.S。我也安装了python 2.7。我将'python''pip'用于python 2。 而我将'py''pip3'用于python 3。

0 个答案:

没有答案