Install pip on CentOS

Install pip on CentOS

Shawn Yan Lv.6

Environment

CentOS Linux release 7.4.1708 (Core)

python 2.7.5

pip 9.0.3

Step

1
2
3
4
5
6
7
8
9
10
11
12
python --version
Python 2.7.5

yum install -y python2-pip

pip --version
pip 8.1.2 from /usr/lib/python2.7/site-packages (python 2.7)

pip install --upgrade pip

pip --version
pip 9.0.3 from /usr/lib/python2.7/site-packages (python 2.7)

Reference

  • Title: Install pip on CentOS
  • Author: Shawn Yan
  • Created at: 2018-04-11 15:01:01
  • Updated at: 2018-04-11 15:01:01
  • Link: https://shawnyan.cn/2018/python/python-install-pip-on-centos/
  • License: This work is licensed under CC BY-NC-SA 4.0.
 Comments