【发布时间】:2012-04-02 00:37:56
【问题描述】:
4.11,我正在尝试使用 pip 或 easy_install 安装 Scrapy。
两者都失败了,首先它失败说我没有可用的 gcc-4.0,然后我使用我的安装 cd 安装它。现在它弹出其他错误。
为 Twisted 运行 setup.py install,一开始我收到以下错误
gcc-4.0 -fno-strict-aliasing -fno-common -dynamic -arch ppc -arch i386 -g -O2 -DNDEBUG -g -O3 -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c conftest.c -o conftest.o
conftest.c:1:21: error: rpc/rpc.h: No such file or directory
conftest.c:1:21: error: rpc/rpc.h: No such file or directory
lipo: can't figure out the architecture type of: /var/tmp//ccXYV9xx.out
gcc-4.0 -fno-strict-aliasing -fno-common -dynamic -arch ppc -arch i386 -g -O2 -DNDEBUG -g -O3 -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c conftest.c -o conftest.o
conftest.c:1:23: error: sys/epoll.h: No such file or directory
conftest.c:1:23: error: sys/epoll.h: No such file or directory
lipo: can't figure out the architecture type of: /var/tmp//cctYFimU.out
building 'twisted.test.raiser' extension
gcc-4.0 -fno-strict-aliasing -fno-common -dynamic -arch ppc -arch i386 -g -O2 -DNDEBUG -g -O3 -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c twisted/test/raiser.c -o build/temp.macosx-10.3-fat-2.7/twisted/test/raiser.o
并以:
结尾lipo: 无法确定架构类型:/var/tmp//ccYXFDmd.out 错误:命令“gcc-4.0”失败,退出状态为 1
我对这一切都很陌生,任何解决这个问题的帮助都会很棒!
【问题讨论】:
标签: twisted pip scrapy easy-install