This will run the get-pip.py file Python codes which will simply install the pip for the macOS or OS X. What is PIL/Pillow PIL (Python Imaging Library) adds many image processing features to Python. $ curl -o get-pip.pyĪND then we will call the get-pip.py with the Python interpreter. What is Python Python is a widely-used programming language used in many of the computer science classes here at St. Step 3: Furthermore, click on System Report, tap on Software Update. Step 2: A window displaying tabs like overview, display, storage, support and service will be available. It will be available in the top-left hand corner.
We will provide the URL with the -o option where we will set the name of the downloaded get-pip.py file name. How To Identify Your MacBook Pro Model Step 1: Go to the Apple menu and select About this Mac. First, we will download the get-pip.py script with the curl command. 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. Therefore another way to update Python to the latest version is by using a single command. The python2 version is Python2.7.16 and Python3 version is Python3.6.8. Although the easiest way to update or install the latest version of Python on Mac is by using Python’s official website, we will have to check for future updates manually by checking the site again and again. So we can use installation commands for both Python2 and Python3. We can see that both PYthon2 and PYthon3 is installed.