我正在设置os X 10.7。为什么我得到错误:命令'llvm-gcc-4.2'失败,退出状态1
我使用的是默认安装的Python:
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/
我使用的easy_install称为基于Python的包管理器。 Easy_install似乎无法找到编译器。
编辑:当我试图安装MySQL-python的我得到这个错误:
$ sudo easy_install MySQL-python
Password:
Searching for MySQL-python
Reading http://pypi.python.org/simple/MySQL-python/
Reading http://sourceforge.net/projects/mysql-python/
Reading http://sourceforge.net/projects/mysql-python
Best match: MySQL-python 1.2.3
Downloading http://download.sourceforge.net/sourceforge/mysql-python/MySQL-python-1.2.3.tar.gz
Processing MySQL-python-1.2.3.tar.gz
Running MySQL-python-1.2.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-P9H9WX/MySQL-python-1.2.3/egg-dist-tmp-rRTfZL
warning: no files found matching 'MANIFEST'
warning: no files found matching 'ChangeLog'
warning: no files found matching 'GPL'
unable to execute llvm-gcc-4.2: No such file or directory
error: Setup script exited with error: command 'llvm-gcc-4.2' failed with exit status 1
错误:安装脚本退出,出现错误:命令 'LLVM-GCC-4.2' 失败,退出状态1
Xcode 4.1使用GCC,但看起来已经改变了Xcode 4.2。
Apple希望我们使用哪种编译器? 如何设置配置以便编译OSS?
你想使用easy_install来安装什么软件包? – 2012-02-22 15:57:26
命令“失败”,它不是“未找到”。向我们展示更多上下文/日志以了解您的问题。 – tito 2012-02-22 16:17:09
我有同样的问题,我尝试使用Xcode和GCC解决方案!解决办法是什么?我需要它! – rigobcastro 2013-05-14 21:11:19