Step by Step guide for Installing or Upgrading Python Environment on macOS
18 steps to follow while installing or upgrading Python on Mac OS
What is Python?
Python is one of the most used general-purpose programming languages which is often used for a wide variety of applications. Python includes a lot of high-level data structures, dynamic typing, dynamic binding, and others which is very useful for complex application development, scripting, and connecting components together.
In this blog, I will be discussing the stepwise procedure to install and upgrade Python on macOS. So, before we start talking about the installation process on macOS, I would like to suggest you to go through my previous blog about the installation of Python on Windows if you have WindowsOS, where I have explained a brief overview of Python in general as well. Here’s the link to the blog.
Stepwise Procedure to Download & Install Python on macOS
Now if you are familiar about how Python works, let’s look at the 18 steps you should follow to install and upgrade Python on Mac OS.
Step 1: Open terminal
Step 2: Here, check if your mac has a Python environment or not.
Step 3: If you want to download a new version or haven’t download yet then open google and write download python.
Step 4: Click on the first link which will display on your screen, i.e. Download Python | Python.org
Step 5: Click on Download Python with the latest version.
Step 6: After you opt to download Python, your mac asks for your permission to download. Here, click ‘Allow’ on your mac to download.
Step 7: After you download the installation file, double-click the downloaded file as shown in the image below.
Step 8: After you open the file a dialog box will appear with a welcome note. Here, click on “Continue”.
Step 9: You can read the description and important information of Python then click on “Continue”.
Step 10: Usually, people tend to skip the information part of the dialog box because of which you may be unaware of some terms and conditions. So to avoid that, do read the History and License carefully.
Step 11: After reading all the software license agreement, click “Continue”.
Step 12: Click “Agree” if you are satisfied with the terms and conditions of the software license agreement.
Step 13: Now, select Macintosh HD location to install and click on “Continue”.
Step 14: After that, you can proceed to click on “Install”.
Step 15: As shown in the image below, you need to enter your username and password to install the software.
Step 16: When you provide the requirements, it will start to get installed. Wait for 2–3 minutes for Installation.
When you take this step of installing, your screen will display the dialog box as below.
Step 17: Open the Python Finder.
Step 18: Open idle.
Finally, now you are ready to start your project on Python.
Installing Python on Mac OS is very easy if you are familiar with the Python environment. However, it is very important to properly read the information and follow all the instructions recommended in the dialog box itself.