Python Installation | How to Install Python on Windows, Linux & MAC OS

Before we get into learning Python, you need to have a Python interpreter on your systems and in this article, we will look at the step by step process for Python installation on Windows, Linux & MAC OS.

Python Installation for Windows, Linux, MAC 

Here is the step by step process to install Python on Windows, Linux & MAC. However, before you take a look at it, check if Python is already installed in your system by any chance.

a) To check that on a Windows system, either search for Python on the start bar or give the below command in the command prompt window.

C:\Users\User Name>python --version 

Note: Python –version is the only line you need to enter. The initial part of the above command will be shown by default in the command prompt.

b) To check that on a Linux or MAC OS system, open terminal and give one of the below commands based on which python version you are searching for.

$ python3 --version
$ python2 --version

If you didn’t find Python already installed, then follow these steps to do so.

  • Go to the downloads section on the official website of Python – There you will see the latest version of Python available for download. Click on the download option.
  • Once it gets downloaded, double click to run it. Then you will see a dialog box as shown below. Now click on “Install Now”. Also, make sure you tick the ‘Add Python 3.X to Path”.

       python installation on windows linux mac os

  • That’s all. Python 3.X.X or whatever version you chose is now available on your system. Go to the start menu, search for it and then get started with using it.

Do I need another IDE for Python?

Yes. This basic Python IDE you have installed using the above-given steps is not the ideal IDE when you want to work with multiple files and hence you can choose to install any other IDE. We recommend PyCharm IDE & the steps for installation of PyCharm are given below.

Step 1:

Go to PyCharm website using this link – and you will see the below screen. Now click on the highlighted download option.

pycharm installation

Step 2:

Once it gets downloaded, then double click on it to run the program.

Now follow this: Next -> Next -> Then select 32/64 bit launcher and also tick .py under create associations as shown below.

python installation - how to install pycharm IDE

Step 3:

Now click on Next -> Finish -> Choose the theme of your choice -> Now get started with creating your own projects on PyCharm.

pycharm installation step by step

That’s all it takes for Python installation and Pycharm installation. You can now get started with coding using these two interpreters.