How To Install Python In Windows 10

Python is a widely used high-level programming language first launched in 1991. Since then, Python has been gained popularity and is now considered one of the most popular and flexible server-side programming languages.

Unlike most Linux distributions, Windows does not come with Python installed by default. However, you can always install Python on your Windows Local Machine.

Prerequisites

  • A system running Windows 10 with admin privileges
  • Command Prompt (Comes by default)

Python 3 Installation on Windows

Step 1: Select version of Python to Install

The installation process consists of downloading the official Python .exe installer and running it on your system.

The version you need depends on what you want to do in Python. For example, if you are working on a project already coded in Python 2.x, you probably need to install the Python 2.x version. If you are starting from scratch, you can install the latest version.

If you are new and learning to code in Python, we recommend you to install the latest version of Python.

Step 2: Download Python Installer

  1. Open your web browser and navigate to the Download for Windows of the Official Python Website.
  2. Search for your desired version of Python. At the time of writing and publishing this article, the latest version of the Python 3 release is 3.9.5, while the version of the Python 2 release is 2.7.18.
  3. Check whether your system is running on 32-bit or 64-bit by going to File Explorer > Open This PC > Right Click > go to Properties. You will find System Type, where it was mentioned whether it is 32-bit or 64-bit Operating System.
  4. Select a link to download either the Windows Installer (64-bit) or Windows Installer (32-bit) based on your system and download it.
Which-Version-To-Download
Python Release for Windows Page – Source: https://www.python.org/downloads/windows/

Step 3: Run The Installer

  1. Run the Installer you have just downloaded. In this example, we have downloaded Python 3.9.5
  2. Tick or Check on ‘Add Python 3.9 to PATH‘ and click on Install Now. The installation process will begin, wait till the installation process completes.
  3. After that, you will see, “Setup was successful“. If you see something like, “Disable Path Length Limit” click on it and follow the process. At last, click on the close button.
Run-Python-Executable
Python Installer

Step 4: Verify Python & pip Was Installed or Not

  1. Go to Start Menu and open CMD or Command Prompt.
  2. Type python –version in the console.
  3. Type pip –version in the console.
  4. If Python and pip were installed successfully, you should see the following output.
Check-Python-And-Pip-Installed-Or-Not
Windows Command Prompt

Conclusion

In this tutorial, we have seen how to install Python 3.x on Windows 10. If you are installing a different version of Python, you can expect a similar process.

Remember, choose your version carefully, and make sure that you have pip installed.

Happy Programming!


Read more related to Technology, Programming related stuff on EGrasps.

Leave a Reply