安装 pyspider 出错,错误日志已经贴上来,大家帮忙看看,谢谢。

2015-05-04 00:49:20 +08:00
 redhatping
环境:mac 10.10.3 python 2.7


sudo pip install pyspider


1 error generated.
error: command 'cc' failed with exit status 1

----------------------------------------
Command "/usr/bin/python -c "import setuptools, tokenize;__file__='/private/tmp/pip-build-rQTT_8/lxml/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-PLFb70-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/tmp/pip-build-rQTT_8/lxml


谢谢了。
8913 次点击
所在节点    Python
22 条回复
proudzhu
2015-05-04 12:18:33 +08:00
@redhatping 没用过 MacOS ,我用 linux 的,用着用着就知道这些概念了。。。
echoer
2015-07-17 17:19:31 +08:00
很好的贴,我也遇到这个问题了。。。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/188228

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX