1. 先执行以下命令
sudo apt-get install python-lxml sudo apt-get install libxslt1-dev sudo apt-get install python-setuptools sudo apt-get install libevent-dev sudo apt-get install libffi-dev sudo apt-get install python-openssl sudo apt-get install libssl-dev
2. 然后执行
sudo pip install scrapy
安装成功
时间: 2024-10-26 04:24:32