默認安裝系統,安裝pip,virtualenv,創建並進入虛擬環境,開始使用pip在虛擬環境中安裝scrapy,然而並無一鍵安裝的快感scrapy
解決:code
sudo apt-get install libxml2 libxml2-dev ln -s /usr/include/libxml2/libxml /usr/include/libxml
解決:xml
sudo apt-get install libffi libffi-dev
解決:ip
sudo apt-get install libssl-dev
pip install scrapy