ubuntu安装SCrapy
程序员文章站
2022-02-11 06:29:24
...
标签:
依次安装
sudo apt-get install build-essential;
sudo apt-get install python-dev;
sudo apt-get install libxml2-dev;
sudo apt-get install libxslt1-dev;
sudo apt-get install python-setuptools;
然后安装Scrapy:
sudo easy_install Scrapy;
解决方法:安装libffi:
yum install -y libffi-devel
或
apt-get install -y libffi-dev ( ubuntu中 )