【发布时间】:2016-02-21 13:53:54
【问题描述】:
我在 Mac 上安装了带有 Python 3.5 的 Anaconda 3.19.3。现在,我想通过pip 安装 TensorFlow。安装说明here 还包括在 Python 3.3+ 下安装 TensorFlow 的设置说明。
所以,我已经执行了sudo easy_install --upgrade six,没问题。当我执行sudo pip3 install --upgrade https://storage.googleapis.com/tensorflow/mac/tensorflow-0.7.0-py3-none-any.whl时,在下载了必要的包后,我得到了以下信息:
Installing collected packages: setuptools, protobuf, tensorflow
Found existing installation: setuptools 19.6.2
Uninstalling setuptools-19.6.2:
Successfully uninstalled setuptools-19.6.2
Rolling back uninstall of setuptools
Exception:
...
AttributeError: _ep_map
During handling of the above exception, another exception occurred:
...
FileNotFoundError: [Errno 2] No such file or directory: '/Users/me/anaconda/lib/python3.5/site-packages/setuptools-19.6.2-py3.5.egg'
为了节省空间,我省略了一些错误消息。
这是什么,更重要的是,我能做些什么?
【问题讨论】:
标签: macos python-3.x tensorflow pip anaconda