CSDNGitHubUbuntu安装Python的包管理工具PipAderXCoding/system/tools/pip
本作品采用知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议进行许可
参考
https://pypi.python.org/pypi/setuptools/
https://pypi.python.org/pypi/pip#downloads
Pip: ImportError: Entry point (‘console_scripts’, ‘pip’) not found
1 安装pip
1.1 使用源安装
sudo apt-get install python-setuptools python-pip
1.2 源码编译安装
下载pip
wget https://pypi.python.org/packages/source/p/pip/pip-7.1.2.tar.gz#md5=3823d2343d9f3aaab21cf9c917710196
编译安装
先解压缩
tar -zxvf pip-7.1.2.tar.gz
cd pip-7.1.2
使用如下命令编译安装
sudo python setup.py install
pip需要easy_installer工具setuptools包支持,如果提示setuptools错误,请下载安装setuptools
wget https://bootstrap.pypa.io/ez_setup.py -O - | sudo python
1.3 使用配置好的脚本</