Installation of python on windows system

 Installation of python on windows system

If you are using an old system, then check whether python is already installed in your windows system. 

Check whether Python is installed in your system or not

  • Open command prompt of your system  (press Win + R, type cmd, and press Enter).
  • Type python -V or python --version in the terminal and press Enter.
If python is already installed in your system, you will get following output.


If not installed before, you will get the following output.



Installation of Python on windows machine (If not installed before)

Step-1 : Download python

Go to official website of python i.e https://www.python.org/downloads/
Download the latest/desired version of python. 




Step-2 : Run the Installer

Double-click the downloaded .exe file to launch the installer. The following installer wizard will open.



 Important NoteCheck the box that says "Add Python to PATH" at the bottom of the window first and then Click "Install Now" as shown in the above image.




You can see Set up progress and finally installation successful message.  



Step-3 : Verify Installation

After the installation finishes:

  1. Open Command Prompt (press Win + R, type cmd, and press Enter) again. (Close the earlier opened Command Prompt)

  2. Type 'Python -V' or 'python --version' and press Enter.

You should see something like:



If you see the following output from the Command Prompt after typing the python command:

Likely, you didn’t check the Add Python 3.8 to PATH checkbox when you install Python. In that case, try to reinstall the python (Step-2).

Step-4 :  Test Python

In the same terminal, type 'Python' and press Enter. You should see the >>> prompt where you can start typing Python code.



 To exit the Python shell, type:  exit() and press Enter.



Previous Topic                                                                                                     Next Topic





Comments