使用 py 3.6 Ubuntu 16.04 安装工具在 Anaconda 环境中安装 TensorFlow 1.2 GPU 时出错
Errors installing TensorFlow 1.2 GPU in Anaconda env with py 3.6 Ubuntu 16.04 Setup tools
似乎 TF 需要 setuptools 27.2.0 而我有 setuptools (36.0.1)
????
在 Ubuntu 16.04 上使用新创建和下载的 Anaconda 虚拟环境(在另一个环境中我有 TF1.1GPU 运行ning 很好)(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
我看到了一个 pip 列表
setuptools (36.0.1)
所以似乎 TF1.2 安装的要求可能被错误地固定了?
pip install setuptools==27.2.0
似乎 TF 需要 setuptools 27.2.0 而我有 setuptools (36.0.1) ????
在 Ubuntu 16.04 上使用新创建和下载的 Anaconda 虚拟环境(在另一个环境中我有 TF1.1GPU 运行ning 很好)(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
我看到了一个 pip 列表
setuptools (36.0.1)
所以似乎 TF1.2 安装的要求可能被错误地固定了?
pip install setuptools==27.2.0