2016-08-06 76 views
3

我已经通过Xcode安装了命令行工具。当我运行xcode-select -p时,其显示/Applications/Xcode.app/Contents/DeveloperHomebrew找不到已安装的命令行工具

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

回答

2

我刚刚得到同样的问题。运行xcode-select --install重新安装为我工作的命令行工具,brew config现在报告CLT: 7.3.1.0.1.1461711523

1

由于xcode-select --install并没有解决这个问题对我来说:

我只好跑brew doctor包括BREW install命令来修复这些记载了​​。运行后,brew config报告CLT不再为N/A

+0

不幸的是,这对我没有帮助。似乎Xcode 8.3.3完全安装不被CLT用自制软件识别。 –

相关问题