linux 安装scrapy

由于scrapy对python3支持不是很好,所以使用python2.7

引用
apt-get install python
ls
cd /tmp
ls
wget https://bootstrap.pypa.io/get-pip.py
apt-get install wget
wget https://bootstrap.pypa.io/get-pip.py
python -v
python get-pip.py
pip install scrapy
apt-get install gcc
apt-get update
apt-get upgrade
apt-get install gcc
apt-get install python-dev libxml2-dev libxslt-dev
apt-get install libz-dev
apt-get install libffi-dev
apt-get install libssl-dev
pip install scrapy
scrapy

你可能感兴趣的:(linux 安装scrapy)