ImportError: No module named setuptools 解決方案
html
shell中輸入:python
wget http://pypi.python.org/packages/source/s/setuptools/setuptools-0.6c11.tar.gz --no-check-certificategit
tar zxvf setuptools-0.6c11.tar.gz
cd setuptools-0.6c11
python setup.py build
python setup.py install
github
安裝pipshell
wget --no-check-certificate https://github.com/pypa/pip/archive/1.5.5.tar.gz
注意:wget獲取https的時候要加上:--no-check-certificateui
tar zvxf 1.5.5.tar.gz #解壓文件cd pip-1.5.5/ python setup.py install
OK,這樣就安裝好pip了,spa
下面來安裝 requests吧。.net
pip install requests