python2.7安装tensorflow,如何在Windows的Python 2.7上安装Tensorflow?

I try to install TensorFlow via pip (pip install tensorflow) but get this error

could not find a version that satisfies the requirement tensorflow (from versions: )

Is there a solution to this problem? I still wish to install it via pip

解决方案

Elaborating a bit on dirty_feri's answer as it's not quite up to date.

Tensorflow for Windows is only supported with Python 3.5 and Python 3.6 (since 1.2). As you are downloading via pip you will be receiving the latest 1.2 version so you should be able to run on 3.6.

There should be no need to use the Anaconda version of Tensorflow, the distribution is not supported and, if you are running anaconda, the pip version does just fine.

If you still require python 2.7 support for other projects then may I suggest the use of an environment manager like anaconda or virtualenv to allow you to have multiple versions of python running nicely at once.

Once you have a supported version of python installed you should be able to run pip install tensorflow and it should install in a few minutes.

Full installation instructions are available here: https://www.tensorflow.org/install/install_windows

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值