安装过程详见这篇博客:
http://www.ttlsa.com/python/how-to-install-and-use-pip-ttlsa/
安装后运行到:python setup.py install
出现错误,错误图片如下所示:
[root@localhost pip-1.5.4]# python setup.py install
Traceback (most recent call last):
File “setup.py”, line 6, in
from setuptools import setup, find_packages
ImportError: No module named setuptools
解决方法
wget https://pypi.python.org/packages/source/s/setuptools/setuptools-0.6c11.tar.gz
tar zxvf setuptools-0.6c11.tar.gz
cd setuptools-0.6c11
python setup.py install
之后就可以开心的使用pip
了,比如
pip install wifi //linux下的wifi管理工具,你指的拥有