In this tutorial we will learn how to download and install python 3 on Windows, Linux and MacOS.
If one wants to learn any programming language, he/she needs to practice rather than reading. Hence in this tutorial will learn how to download and install python3.
It doesn’t matter whether you are using Windows or Mac OSX or Linux, as it runs great on every operating system.
However, downloading and installing Python is a bit different process on every operating system.
Let’s started with one operating system at a time.
Downloading and installing Python
Windows Operating System
Installing Python on Windows operating system is like installing any other program. Follow the instruction…
Go to the official Python website that is www.python.org.
Move the cursor over the blue Downloads button, but don’t click it. You will see the different options to choose from, like operating systems, etc. Then cursor over Windows and click the button that downloads the latest version of Python.
Once downloading is finished, double-click the installer. Make sure that you have selected the launcher option and then click Install Now.
Once the installation is over, either use Windows power shell or IDLE to run the programs. If you use Windows power shell, type python3 on command prompt to get python shell.
Other operating systems – Mac OSX and Linux
Operating systems like Mac OSX and Linux, come with a pre-installed Python package. To check whether Python is installed or not, you can follow the steps below.
Move the mouse cursor overall applications and open a terminal. The procedure to open a terminal depends on the operating you are using, but most operating systems have one or other ways to search for programs. Search for a program called a terminal and launch it.
Once the terminal is open, type python3 and press Enter. You should see something like this:
Now you can type the command exit()
and press Enter to get out of the Python shell. Or you can just close the Terminal window or PowerShell.
Download and Install Anaconda Python
Standard python package has only core python libraries. If you want to use packages such as Numpy, Pandas, Matplotlib, etc, you need to download and install them separately. The best solution to avoid such a tedious task is to use the python anaconda package. This package has all the basic python libraries need for any python programmer from beginner to data scientist.
Follow the steps to download and install the python anaconda package.
Go to the official website of Anaconda Python distribution. Then click on the download button. Then choose the operating system, processor and download the latest version. Once the anaconda python package is downloaded, double click on the installer to start installing.
Summary:
In this tutorial, we have learned how to download and install python 3 on Windows, Linux, and MacOS.
If you face any trouble in installing python, do let me know in the comments box. If you like the tutorial please share it with your friends.