Centos6.5 自带的Python2.6.6 如何安装setuptools和pip

setuptools-36.7.1

[root@ ]# wget https://files.pythonhosted.org/packages/a9/23/720c7558ba6ad3e0f5ad01e0d6ea2288b486da32f053c73e259f7c392042/setuptools-36.0.1.zip 
[root@ ]# unzip setuptools-36.7.1.zip 
[root@ ]# cd setuptools-36.7.1
[root@ setuptools-36.7.1]# python setup.py install 

pip-9.0.x

[root@ ]# curl -O https://pypi.python.org/packages/source/p/pip/pip-9.0.1.tar.gz
[root@ ]# [root@ ]# tar xf pip-9.0.1.tar.gz 
[root@ ]# cd pip-9.0.1
[root@ pip-9.0.1]# python setup.py install
posted @ 2019-05-19 17:58 wshenJin 阅读(...) 评论(...) 编辑 收藏