python2.7.13安装pip

由于之前安装了python2.7.6和python3.4搞得lib库乱的很,我这次全部替换成2.7.13.操作如下

https://pip.pypa.io/en/stable/installing/#upgrading-pip
下载get-pip.py
python get-pip.py 到下载路径执行就搞定了
检查一下
root@ubuntu:~/Downloads# pip -V
pip 9.0.1 from /usr/local/lib/python2.7/site-packages (python 2.7)

你可能感兴趣的:(python,ubuntu,库)