在执行 pip3 install scrapy 时遇到错误:
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/lg/r29fx28n3rz9437dg3bff_9h0000gn/T/pip-install-z7_sesz1/Twisted/
解决方法是更新 setuptools 和 pip:
pip install --upgrade setuptools
python -m pip install --upgrade pip
升级完成之后继续安装