码迷,mamicode.com
首页 > 编程语言 > 详细

python3 tensorflow 安装

时间:2018-01-30 21:18:22      阅读:836      评论:0      收藏:0      [点我收藏+]

标签:code   3.5   div   解决   https   run   com   hub   git   

mac python3 安装tensorflow出错:futures requires Python ‘>=2.6, <3‘ but the running Python is 3.5.3

 

对应解决链接: https://github.com/tensorflow/tensorflow/issues/16478

 

Same problem here on Ubuntu 16.04 with Python 3.5.
Clearly, Python 3 doesn‘t need futures. And with Python 2.7, using :
pip2 install tensorflow-gpu==1.5.0
it goes well.
Here‘s a solution for Python 3:
The error is occurred when installing the version of futures 3.2.0 for Python 3. It is noticed that:

It should not be installed on Python 3, although there should be no harm in doing so, as the standard library takes precedence over third party libraries.

First, install futures 3.1.1:

pip3 install futures==3.1.1
then :
pip3 install tensorflow-gpu==1.5.0
Do not add the --ignore-installed or -I

 

python3 tensorflow 安装

标签:code   3.5   div   解决   https   run   com   hub   git   

原文地址:https://www.cnblogs.com/leo23/p/8386996.html

(0)
(1)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!