我在Mac上有带Python 3.5的Anaconda 3.19.3。现在,我想通过安装TensorFlow pip
。这里的安装说明还包括在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'
我省略了一些错误消息以节省空间。
这是什么,更重要的是,我该怎么办?
在这里查看答案:安装TensorFlow时出现错误setuptools
特别是,您可以尝试将--ignore-installed
标签添加到pip命令的末尾。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句