Ubuntu16 python scrapy爬虫框架安装

前端之家收集整理的这篇文章主要介绍了Ubuntu16 python scrapy爬虫框架安装前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

安装环境:ubuntu16,python2.7

1. 安装lxml OpenSSL

sudo apt-get install python-dev

sudo apt-get install libevent-dev

sudo apt-get install openssl

sudo apt-get install libssl-dev

2. 安装并更新pip

sudo apt-get install python-pip

pip install --upgrade pip

3. 安装scrapy

pip install Scrapy

猜你在找的Ubuntu相关文章