python安装卡住_我试图在支持python 2.7的Anaconda上安装张量流,我被卡住了

Im trying to install tensorflow on Anaconda that supports python 2.7, I did as the manual given on the tensorflow homepage told me to do, and this error occurs every time.

UnsatisfiableError: The following specifications were found to be in conflict:

- python 2.7*

- tensorflow -> protobuf ==3.1.0 -> python 3.5*

Use "conda info " to see the dependencies for each package.

could you help me out??

and this is my conda info

conda info

Current conda install:

platform : win-64

conda version : 4.3.7

conda is private : False

conda-env version : 4.3.7

conda-build version : 2.0.2

python version : 2.7.12.final.0

requests version : 2.12.4

root environment : C:\Users\sml\Anaconda2 (writable)

default environment : C:\Users\sml\Anaconda2\envs\tensoflow

envs directories : C:\Users\sml\Anaconda2\envs

package cache : C:\Users\sml\Anaconda2\pkgs

channel URLs : https://repo.continuum.io/pkgs/free/win-64

https://repo.continuum.io/pkgs/free/noarch

https://repo.continuum.io/pkgs/r/win-64

https://repo.continuum.io/pkgs/r/noarch

https://repo.continuum.io/pkgs/pro/win-64

https://repo.continuum.io/pkgs/pro/noarch

https://repo.continuum.io/pkgs/msys2/win-64

https://repo.continuum.io/pkgs/msys2/noarch

config file : None

offline mode : False

user-agent : conda/4.3.7 requests/2.12.4 CPython/2.7.12 Windows/10 Windows/10.0.14393

解决方案

As said in the comments, on Microsoft Windows TensorFlow only runs on Python 3.5 64-bit.

Python 2.7 is unsupported because TensorFlow uses many C++11 features (e.g., auto), but the version of the Microsoft Visual C++ Compiler used for Python 2.7 is 2008.

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值