Easy_install芹菜错误

时间:2012-08-30 18:30:56

标签: python celery

使用easy_install为python安装celery时,我在尝试安装台球时遇到错误,这是其中一个依赖项:

Installed /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/celery-3.0.6-py2.7.egg
Processing dependencies for celery==3.0.6
Searching for billiard>=2.7.3.12
Reading http://pypi.python.org/simple/billiard/
Reading http://github.com/celery/billiard
Reading http://github.com/ask/billiard
Best match: billiard 2.7.3.12
Downloading http://pypi.python.org/packages/source/b/billiard/billiard-2.7.3.12.tar.gz#md5=631deb04e69cf6a7cd1f380432a2e420
Processing billiard-2.7.3.12.tar.gz
Running billiard-2.7.3.12/setup.py -q bdist_egg --dist-dir /tmp/easy_install-g7tRCS/billiard-2.7.3.12/egg-dist-tmp-qEzoAf
warning: no files found matching '*.py' under directory 'Lib'
unable to execute gcc-4.2: No such file or directory
error: Setup script exited with error: command 'gcc-4.2' failed with exit status 1

感谢你提出任何建议。

1 个答案:

答案 0 :(得分:2)

确保已安装Command Line Tools for Xcode。好像你错过了一个编译器。