【发布时间】:2016-08-06 12:45:16
【问题描述】:
我已经通过 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.
【问题讨论】:
-
总是说明 MacOS 和 Xcode 的版本,因为 Apple 会在每个 coupla 版本中不断改变他们的行为(和目录,以及命令行界面)......也有助于说明你的 brew 版本.