python3 tensorflow 安装

Posted leo_23

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了python3 tensorflow 安装相关的知识,希望对你有一定的参考价值。

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 安装的主要内容,如果未能解决你的问题,请参考以下文章

windows下 python3.5+tensorflow 安装

Python3.7.3安装TensorFlow和OpenCV3

使用 python3.6 安装 TensorFlow 失败

python3安装tensorflow遇到的问题

CentOS Anaconda(python3.6)安装tensorflow

如何在python3.7上安装tensorflow [重复]