我已经通过 Xcode 安装了命令行工具。当我运行 xcode-select -p 时,它显示 /Applications/Xcode.app/Contents/Developer

但是,当我运行 brew config 时,它显示 CLT: N/A 。当我使用 brew 更新 python 时,它显示为 Warning: Building python from source: The bottle needs the Apple Command Line Tools to be installed.

最佳答案

我刚才有同样的问题。运行 xcode-select --install 来重新安装对我有用的命令行工具, brew config 现在报告 CLT: 7.3.1.0.1.1461711523

关于xcode - Homebrew 找不到已安装的命令行工具,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/38804440/

10-15 04:08
查看更多