linux python 安装 pip出现 No module named 'setuptools'
1、下载pip
wget --no-check-certificate https://pypi.python.org/packages/source/p/pip/pip-8.0.2.tar.gz#md5=3a73c4188f8dbad6a1e6f6d44d117eeb
2、解压
tar -zxvf pip-8.0.2.tar.gz
cd pip-8.0.2
python3 setup.py build
python3 setup.py install
若出现 No module named 'setuptools'
3、下载setuptools
a、 wget https://bootstrap.pypa.io/ez_setup.py
b、 python3 ez_setup.py 自动下载setuptools的版本
c、unzip setuptools-33.1.1.zip
4、重新执行
python3 setup.py build
python3 setup.py install