最近想使用pip 安装东西, pip 使用yum 安装总找不到包

1
2
3
wget https:
//pypi
.python.org
/packages/2
.7
/s/setuptools/setuptools-0
.6c11-py2.7.egg --no-check-certificate
chmod
+x setuptools-0.6c11-py2.7.egg

sh setuptools-0.6c11-py2.7.egg

安装pip

先安装setup-tools修改为4. 安装python-pip工具

1
2
3
4
5
6
wget https:
//pypi
.python.org
/packages/source/p/pip/pip-1
.3.1.
tar
.gz --no-check-certificate
cp
pip-1.3.1.
tar
.gz
/usr/src/
tar
zxvf pip-1.3.1.
tar
.gz
cd
pip-1.3.1
python setup.py
install
ln
-s
/usr/local/python2
.7
/bin/pip
/usr/bin/pip