美文网首页
pip install scrapy

pip install scrapy

作者: Xiao_Li | 来源:发表于2015-09-03 20:53 被阅读37次

sudo C_INCLUDE_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/ pip install scrapy

如果scrapy startproject *报错Import module xmlrpc_client error:

echo "export PYTHONPATH=/Library/Python/2.7/site-packages:$PYTHONPATH" >> ~/.bashrc

相关文章

网友评论

      本文标题:pip install scrapy

      本文链接:https://www.haomeiwen.com/subject/ajvlqttx.html