我下载了XCode,并通过转到Preferences -> Locations确保安装了XCode命令行工具。

问题:,当我运行brew upgrade时,它会引发以下错误:
Error: python@3.10: the bottle needs the Apple Command Line Tools to be installed.
You can install them, if desired, with:
xcode-select --install我想知道的是:,XCode命令行工具和这些苹果命令行工具有什么区别?我需要同时安装这两个设备吗?
我正在使用OSX12.3.1,使用XCode 13.3.1。
发布于 2022-04-17 17:08:01
Apple Command Line Tools只是XCode Command Line Tools的另一个名字。
在你的终点站,做:
xcode-select --install然后,Homebrew应该可以工作。
这个自制问题注意到:
我们需要命令行工具而不仅仅是Xcode.app的原因有几个原因:
https://stackoverflow.com/questions/71903591
复制相似问题