首页 > 代码库 > 安装pip

安装pip

1.先安装setuptools
#python setup.py build
#python setup.py install
2.安装pip
#python setup.py install
 
如果python升级过,要添加软连接,否则还是会提示找不到pip命令
#ln -s /usr/local/python27/bin/pip /usr/bin/pip
 
附件:
https://app.yinxiang.com/shard/s41/res/4dbba67b-443b-41f9-84f1-da503b10a336/setuptools-0.6c11.tar.gz
https://app.yinxiang.com/shard/s41/res/89b552f7-0439-460f-826d-d36ed11455c2/pip-1.5.6.tar.gz

安装pip