今天准备测试代理池IPProxyPool获取到ip的质量,在安装web.py的时候遇到了些问题,在此记录一下。
1.安装资料
2.安装
方法1:(推荐)
pip install web.py==0.40-dev1
方法2:
注意:这个是使用linux软连接方式
git clone git://github.com/webpy/webpy.git
ln -s `pwd`/webpy/web .
方法3(从源码处安装):
git clone https://github.com/webpy/webpy.git
cd webpy
python setup.py install
pip list
3.问题
3.1.python2与python3问题
pip install web.py
上面安装命令只支持python2,官网上已经说明过。这样安装会报错:
ERROR: Command errored out with exit status 1:
command:'e:\program\python\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] ='"'"'C:\\Users\\peng\\AppData\\Local\\Temp\\pip-install-ubdky_a3\\web.py\\setup.py'"'"'; __file__='"'"'C:\\Users\\peng\\AppDat