Home »
Python
Install pip on MacOS or OSx
Here, we are going to learn about the pip and we will learn how we can install pip on MacOS and OSx system?
Submitted by Sapna Deraje Radhakrishna, on November 19, 2019
What is a PIP?
pip is a tool for installing and managing the python packages. Like Python, pip can be installed on all operating systems.
Python: install pip
To install the latest version of pip, run the below command in MacOS,
$ sudo easy_install pip
$ sudo pip install --upgrade pip
To install the pip in the Ubuntu, use the apt-get manager
$ sudo apt-get update
$ sudo apt-get install python-pip
$ sudo pip install --upgrade pip
To install the pip in Centos, use yum manager
$ sudo yum update
$ sudo yum install epel-release
$ sudo yum install python-pip
# version>= Centos7
$ sudo pip install --upgrade pip
Note: only Centos7 and above supports python3.
Python Tutorial
ADVERTISEMENT
ADVERTISEMENT