我正在尝试使用scrapy,但它需要扭曲。 我已经在其他帖子中尝试了许多解决方案,但没有任何效果。我在Mac Maverick上有python 2.7和gcc4.2.1。
> /Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/Python.h:33:10:
> fatal error: 'stdio.h' file not found
>
> #include <stdio.h>
>
> ^
>
> 1 error generated.
>
> error: command '/usr/bin/clang' failed with exit status 1
2013年10月25日编辑-----------------------------
是的,我安装了Mac开发者工具,但现在我收到了这条消息:
> Requirement already satisfied (use --upgrade to upgrade): setuptools in
> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg
> (from zope.interface>=3.6.0->twisted)
> Installing collected packages: twisted, zope.interface
> Running setup.py install for twisted
>
> /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -O2 -DNDEBUG -g -O3
> -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c conftest.c -o conftest.o
我现在应该输入什么?