首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >不安装Ubuntu 16.04的Tensorflow

问不安装Ubuntu 16.04的Tensorflow
EN

Stack Overflow用户
提问于 2018-04-03 20:24:46
回答 1查看 914关注 0票数 1

我试图在Ubuntu 16.04和Python3.6 (Anaconda)上使用Virtualenv安装GPU版本的Tensorflow,但它一直在输出这些错误

代码语言:javascript
复制
tensorflow-gpu 1.7.0 requires numpy>=1.13.3, which is not installed.
tensorflow-gpu 1.7.0 requires six>=1.10.0, which is not installed.
tensorboard 1.7.0 requires numpy>=1.12.0, which is not installed.
tensorboard 1.7.0 requires six>=1.10.0, which is not installed.
tensorboard 1.7.0 requires werkzeug>=0.11.10, which is not installed.
protobuf 3.5.2.post1 requires six>=1.9, which is not installed.
html5lib 0.9999999 requires six, which is not installed.
grpcio 1.10.0 requires six>=1.5.2, which is not installed.
bleach 1.5.0 requires six, which is not installed.
absl-py 0.1.13 requires six, which is not installed.

我尝试过使用sudo pip install numpy six安装numpy和6,这两种方法都是在虚拟环境中安装的,但错误仍然存在。有什么办法解决这个问题吗?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2018-04-03 23:12:25

您同时使用conda和virtualenv,这通常是个坏主意。如果您从anaconda安装Python,请使用它们的环境工具。

代码语言:javascript
复制
conda create -n tensorflow pip python=3.6

source activate tensorflow

pip install --ignore-installed --upgrade\
    https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.6.0-cp36-cp36m-linux_x86_64.whl

另外,看看如何使用用anaconda安装tensorflow。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/49638576

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档