sudo pip install scrapy --ignore-installed six #sudo pip install scrapy --upgrade --ignore-installed six“ImportError: cannot import name xmlrpc_client”错误的解决办法: export PYTHONPATH=/Library/Python/2.7/site-packages:$PYTHONPATH