TensorFlow安装错误:不允许操作... / _ markerlib

时间:2017-02-02 17:58:25

标签: tensorflow

尽管使用sudopip install命令有时会产生类似于以下内容的错误:

...
Installing collected packages: setuptools, protobuf, wheel, numpy, tensorflow
Found existing installation: setuptools 1.1.6
Uninstalling setuptools-1.1.6:
Exception:
…
[Errno 1] Operation not permitted: 
'/tmp/pip-a1DXRT-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib'

1 个答案:

答案 0 :(得分:0)

尝试使用--ignore-installed选项进行安装:

sudo pip install --ignore-installed tensorflow

它应该有用。