From 4eeb7e365dcfef9018933eb00782f5437f47e625 Mon Sep 17 00:00:00 2001 From: xgdgsc Date: Tue, 19 Dec 2017 16:21:59 +0800 Subject: [PATCH 1/2] change install --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1e61936..1eca49b 100644 --- a/README.md +++ b/README.md @@ -106,8 +106,9 @@ except Exception,e: ## 如何使用 将项目目录clone到当前文件夹 - -$ git clone +``` +$ git clone https://github.com/qiyeboy/IPProxyPool.git +``` 切换工程目录 From da1a3ea2cc9a17190f18e93fbe2b942ffdf4858d Mon Sep 17 00:00:00 2001 From: xgdgsc Date: Tue, 19 Dec 2017 16:58:23 +0800 Subject: [PATCH 2/2] format --- README.md | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 1eca49b..abf75ac 100644 --- a/README.md +++ b/README.md @@ -22,13 +22,23 @@ http://www.cnblogs.com/qiyeboy/p/5693128.html #### Ubuntu,debian 1.安装sqlite数据库(一般系统内置): +``` apt-get install sqlite3 +``` +
-2.安装requests,chardet,web.py,gevent psutil: +2.安装requests,chardet,web.py,gevent, psutil: + +``` pip install requests chardet web.py sqlalchemy gevent psutil +```
3.安装lxml: + +``` apt-get install python-lxml +``` +
注意: @@ -41,11 +51,12 @@ apt-get install python-lxml 1.下载[sqlite](http://www.sqlite.org/download.html),路径添加到环境变量
2.安装requests,chardet,web.py,gevent: -pip install requests chardet web.py sqlalchemy gevent -
-3.安装lxml: -pip install lxml或者下载[lxml windows版](https://pypi.python.org/pypi/lxml/) + +``` +pip install requests chardet web.py sqlalchemy gevent lxml +```
+ 注意: * python3下的是pip3