【问题标题】:TensorFlow installation error: Operation not permitted .../_markerlibTensorFlow安装报错:Operation not allowed .../_markerlib
【发布时间】:2017-02-02 17:58:25
【问题描述】:

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

... 安装收集的包:setuptools、protobuf、wheel、numpy、tensorflow 找到现有安装:setuptools 1.1.6 卸载 setuptools-1.1.6: 例外: … [Errno 1] 不允许操作: '/tmp/pip-a1DXRT-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib'

【问题讨论】:

    标签: tensorflow


    【解决方案1】:

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

    sudo pip install --ignore-installed tensorflow
    

    它应该可以工作。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-12-23
      • 2017-01-28
      • 2021-12-04
      • 1970-01-01
      • 2019-04-04
      • 1970-01-01
      • 2015-09-01
      • 2022-08-19
      相关资源
      最近更新 更多