【发布时间】:2017-06-16 16:49:44
【问题描述】:
似乎 TF 需要 setuptools 27.2.0 而我有 setuptools (36.0.1) ????
在 Ubuntu 16.04 上使用新创建和下载的 Anaconda 虚拟环境(在另一个环境中,我的 TF1.1GPU 运行良好)(py362)我尝试安装 TF 1.2GPU、anaconda 命令行客户端(版本 1.6.3)Python 3.6.1 FWIW 我确实安装了建议的 protobuf 二进制文件,因为在安装 TF 之前我有一台相当大的机器(pip3 install --upgrade \ https://storage.googleapis.com/tensorflow/linux/cpu/protobuf-3.1.0-cp35-none-linux_x86_64.whl) 会不会把我搞砸了?虽然错误消息指向其他地方,但我看不到 setuptools 问题的解决方案?
我确实看到以前的版本有一些类似的问题,但没有找到解决方案?我使用了以下内容:
pip install --upgrade \ https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.2.0-cp36-cp36m-linux_x86_64.whl
很多安装都很好,但后来我得到了这个,我无法运行 TF。
FileNotFoundError: [Errno 2] No such file or directory: '/home/tom/anaconda3/envs/py362/lib/python3.6/site-packages/setuptools-27.2.0-py3.6.egg'
(py362) tom@tomServal:~$ pip install setuptools-27.2.0-py3.6
Collecting setuptools-27.2.0-py3.6
Could not find a version that satisfies the requirement setuptools-27.2.0-py3.6 (from versions: )
No matching distribution found for setuptools-27.2.0-py3.6
(py362) tom@tomServal:~$ pip install setuptools
Requirement already satisfied: setuptools in ./anaconda3/envs/py362/lib/python3.6/site-packages
做一个点子列表我看到了
setuptools (36.0.1)
所以看来TF1.2安装的要求可能被错误地固定了?
【问题讨论】:
标签: python ubuntu tensorflow anaconda setuptools