【问题标题】:Homebrew python3 installation error自制python3安装错误
【发布时间】:2014-08-11 20:47:09
【问题描述】:

我试图通过 brew install python3 使用 Homebrew 安装 python 3,但出现了警告。

警告:安装后步骤未成功完成 您可以使用brew postinstall python3重试

所以我改用brew postinstall python3

```==> /usr/local/Cellar/python3/3.4.1/bin/python3 -m ensurepip --upgrade dyld:库未加载:@@HOMEBREW_CELLAR@@/python3/3.4.1/Frameworks/Python.framework/Versions/3.4/Python 引用自:/usr/local/Cellar/python3/3.4.1/bin/python3 原因:找不到图片 xcrun: error: active developer path ("/Users/dorislee/Desktop/Macintosh HD/Applications/Xcode.app/Contents/Developer") 不存在,使用 xcode-select 更改 xcrun: error: active developer path ("/Users/dorislee/Desktop/Macintosh HD/Applications/Xcode.app/Contents/Developer") 不存在,使用 xcode-select 更改

阅读:https://github.com/Homebrew/homebrew/wiki/troubleshooting```

我不确定该怎么做,有没有办法撤消并修复它?

【问题讨论】:

    标签: macos python-3.x installation osx-mavericks homebrew


    【解决方案1】:

    检查你的 PYTHONPATH 变量,清理它,然后尝试安装 python3 anagin

    【讨论】:

      【解决方案2】:

      您可以尝试卸载brew remove python3,然后执行brew cleanupbrew prune,然后使用您想要的任何标志重新安装python3 brew install python3

      【讨论】:

        猜你喜欢
        • 2017-08-23
        • 2014-09-02
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2013-12-25
        • 1970-01-01
        • 2020-05-15
        • 2018-07-20
        相关资源
        最近更新 更多