安装setuptools
wget --no-check-certificate https://pypi.python.org/packages/source/s/setuptools/setuptools-19.6.tar.gz#md5=c607dd118eae682c44ed146367a17e26
tar -zxvf setuptools-19.6.tar.gz
cd setuptools-19.6
python3 setup.py build
sudo python3 setup.py install
安装pip
wget --no-check-certificate https://pypi.python.org/packages/source/p/pip/pip-8.0.2.tar.gz#md5=3a73c4188f8dbad6a1e6f6d44d117eeb
tar -zxvf pip-8.0.2.tar.gz
cd pip-8.0.2
python3 setup.py build
sudo python3 setup.py install
pip --version
全部安装好后,发现仍然报错:No module named setuptools,
参考博文:https://blog.csdn.net/shuidiyushading/article/details/79322287
仍然出错,可以尝试重新安装python3.5,
参考博文:https://www.jianshu.com/p/e50e6d46ea62
测试是否安装成功:进入python后,运行代码import setuptools