我已经通过Xcode安装了命令行工具。当我运行xcode-select -p
时,其显示/Applications/Xcode.app/Contents/Developer
。Homebrew找不到已安装的命令行工具
但是,当我运行brew config
时,它显示CLT: N/A
。当我使用brew更新python时,它显示Warning: Building python from source: The bottle needs the Apple Command Line Tools to be installed.
不幸的是,这对我没有帮助。似乎Xcode 8.3.3完全安装不被CLT用自制软件识别。 –