[root@local local]# wget https://pypi.python.org/packages/source/p/pip/pip-1.5.4.tar.gz
[root@local local]# tar -zxvf pip-1.5.4.tar.gz
[root@local local]# cd pip-1.5.4
[root@local pip-1.5.4]# python setup.py install
Traceback (most recent call last):
  File "setup.py", line 6, in <module>
    from setuptools import setup, find_packages
ImportError: No module named setuptools

安装相关缺少模块
Debian:apt-get
centos:yum

[root@local pip-1.5.4]#yum install python-setuptools
Logo

更多推荐