2012-10-03 61 views
2

(新手在這裏)我一直在試圖安裝使用easy_install的scrapy,但出現以下錯誤:錯誤嘗試安裝scrapy使用easy_install的OSX 10.8

Ben$ easy_install -U Scrapy 
    Searching for Scrapy 
    Reading http://pypi.python.org/simple/Scrapy/ 
    Reading http://scrapy.org 
    Best match: Scrapy 0.14.4 
    Processing Scrapy-0.14.4-py2.7.egg 
    Scrapy 0.14.4 is already the active version in easy-install.pth 
    Installing scrapy script to /Library/Frameworks/Python.framework/Versions/2.7/bin 

    Using /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Scrapy-0.14.4-py2.7.egg 
    Processing dependencies for Scrapy 
    Searching for lxml 
    Reading http://pypi.python.org/simple/lxml/ 
    Reading http://codespeak.net/lxml 
    Best match: lxml 2.3.6 
    Downloading http://lxml.de/files/lxml-2.3.6.tgz 
    Processing lxml-2.3.6.tgz 
    Running lxml-2.3.6/setup.py -q bdist_egg --dist-dir /var/folders/j1/l3w7_q554b3fkk3xyw_998nc0000gn/T/easy_install-w5NqEl/lxml-2.3.6/egg-dist-tmp-6MyEeO 
    Building lxml version 2.3.6. 
    Building without Cython. 
    Using build configuration of libxslt 1.1.26 
    unable to execute gcc-4.0: No such file or directory 
    error: Setup script exited with error: command 'gcc-4.0' failed with exit status 1 

任何想法,我在這裏失蹤?

謝謝

回答