使用 easy_install 为 python 安装 celery,当它尝试安装 billiard 时出现错误,这是依赖项之一:
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
感谢您提供的任何建议。