无法使用python --version 3.5.3在Windows10上安装tenserflow。 (64位)

时间:2017-05-25 20:10:43

标签: python tensorflow pip anaconda

尝试安装TensorFlow

使用原生点数进行安装

错误:

C:\Users\Sourav>pip3 install --upgrade tensorflow
Collecting tensorflow
  Could not find a version that satisfies the requirement tensorflow (from versions: )
No matching distribution found for tensorflow

使用Anaconda安装

错误:

C:\Users\Sourav>activate tensorflow

(tensorflow) C:\Users\Sourav>pip install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-1.1.0-cp35-cp35m-win_amd64.whl
tensorflow-1.1.0-cp35-cp35m-win_amd64.whl is not a supported wheel on this platform.

(tensorflow) C:\Users\Sourav>pip install tensorflow
Collecting tensorflow
  Could not find a version that satisfies the requirement tensorflow (from versions: )
No matching distribution found for tensorflow

2 个答案:

答案 0 :(得分:0)

根据谷歌的说法,你可能有旧版本的pip,先试试

pip install --upgrade pip

尝试:

pip3 install tensorflow 

pip install tensorflow 

另外,我建议使用anaconda包控制系统,它易于使用。你可以从那里安装tensorflow:

conda install tensorflow

另外,您可以在此处直接向googlers https://github.com/tensorflow/tensorflow

写下所有错误报告

答案 1 :(得分:0)

终于找到了解决方案。

使用Anaconda安装

conda create --name tensorflow python=3.5
activate tensorflow
conda install jupyter
conda install scipy
pip install tensorflow
or
pip install tensorflow-gpu

在第一行的末尾添加python = 3.5非常重要,因为它将安装Python 3.5。

相关问题