get-pip.py is a Python script that will simply download and install the Pip package for Python. Get-pip.py is another way to install pip in MacOS. $ sudo pip install -upgrade pip Install Pip with get-pip.py On MacOS We will use the pip command because it installed already and provide the -upgrade option with the package name which is also pip. If the pip is already installed we can also upgrade the existing pip installation with the easy_install like below. We can install pip with the easy_install command like below.
Before pip easy_install was the standard package manager for the Python. Install Pip with easy_install On MacOSĮasy_install is a Python module bundled with setuptools which gives us the ability to download, build, install, and manage Python packages. The python2 version is Python2.7.16 and Python3 version is Python3.6.8. So we can use installation commands for both Python2 and Python3.
We can see that both PYthon2 and PYthon3 is installed.