Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/design-patterns/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
brew安装python-未安装XCode_Python_Xcode_Macos_Homebrew - Fatal编程技术网

brew安装python-未安装XCode

brew安装python-未安装XCode,python,xcode,macos,homebrew,Python,Xcode,Macos,Homebrew,我刚从macports转到自制。在安装homebrew之前,我清理了我的环境,并删除了opts中安装的所有内容 现在我得到了以下信息: $brew install python Warning: Xcode not installed Most stuff needs Xcode to build: http://developer.apple.com/xcode/ Warning: python-2.7.5 already installed, it's just not linked 我已

我刚从macports转到自制。在安装homebrew之前,我清理了我的环境,并删除了opts中安装的所有内容

现在我得到了以下信息:

$brew install python
Warning: Xcode not installed
Most stuff needs Xcode to build: http://developer.apple.com/xcode/
Warning: python-2.7.5 already installed, it's just not linked
我已经编辑了我的bash_档案

export PYTHONPATH=/usr/local/share/python
export PATH=$JAVA_HOME:$PYTHONPATH:$PATH

我还安装了xcode&我正在使用macosx10.6.8,我缺少什么

您是否安装了xcode命令行工具?我相信很多人都需要它们things@Kevin我已经安装了xcode,我正在运行xcode 3.2,4.0以上版本的文档有所不同,所以我没有像4版那样的更新屏幕。看起来10.6.8版没有命令行工具