Home »
Python
Install pip on MacOS or OSx
By IncludeHelp Last updated : December 07, 2024
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.
Install pip On MacOS
To install the latest version of pip, run the below command in MacOS,
- $ sudo easy_install pip
- $ sudo pip install --upgrade pip
Install pip On Ubuntu
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
Install pip On CentOS
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.