Installation and using Python on Windows 10 are straightforward. Our article outlines the installation procedure in just three steps.

  • Download the setup files.
  • Run the Executable Windows installer.
  • Add Python to PATH environmental variables.

To install Python, we need to download the official executable installer from the official site. Next, we need to run the installer and complete the installation steps. Finally, we can configure the PATH variable to use Python from the command line.

Also Read- Best Free Python Courses Online For Beginners

Steps to Install Python on Windows 10

We can choose the version of Python we wish to install. When writing this article, it is recommended that we install the latest version, 3.8.2.

1.) Download the Python Installer Binaries

  1. Open theย official Python website in the web browser. Then, Navigate to the Downloads tab for Windows.
  2. After that, the latest Python 3 release. In our example, we choose the latest Python 3.8.2 version.
  3. If you use a 32-bit installer, click the link to download the Windows x86 executable installer. If your Windows installation is a 64-bit system, download the Windows x86-64 executable installer.

NOTE: Python 3 series will not work on WindowsXP running systems

2.) Run the Executable Installer

Once the installer has been downloaded, run the Python installer.

Check the Install launcher checkbox for all users. We can also check the Add Python 3.8.2 to path checkbox to include the interpreter in the execution path. You can tick the Add Python path, so you donโ€™t need to do it manually. If you want to do it manually, check step 3 for reference.

Select Customize Installation.

Choose the optional features just by checking the following checkboxes:

  • Documentation
  • pip
  • tcl/tk and IDLE (to install Tkinter and IDLE)
  • The Python test suite (to install the standard library test suite of Python)
  • Install the global launcher for `.py` files. This makes it easier to start Python
  • Install for all users

Clickย Next.

This takes us to the the Advanced Options menu when installing Python. Select the Install for all users and Add Python to environment variables checkboxes here.

Optionally, we can select the Associate files with Python, Create shortcuts for installed applications, and other advanced options. Note the Python installation directory displayed in this step. You will need it for the next step.

After selecting the Advanced options, clickย Install to start the installation.

Once the installation is over, windows will show aย Python Setup Successfulย window.

3.) Add Python to Environmental Variables

The last (optional) step in the installation process is to add Python Path to the System Environment variables. This step is done to access Python through the command line. If we have ticked the option of Add to Path, then this step is not to be followed; you can avoid this step. Otherwise, this step is done manually as follows.

In the Start menu, search for โ€œadvanced system settings.โ€ย Select โ€œView advanced system settings.โ€

In the โ€œSystem Propertiesโ€ window, click on the โ€œAdvancedโ€ tab.

And then click on the โ€œEnvironment Variablesโ€ button.

Locate the Python installation directory on your system. If you followed the steps exactly as above, python will be installed in the below locations:

  • C:\Program Files\(x86)\Python39: for 32-bit installation
  • C:\Program Files\Python39: for 64-bit installation

P.S.- If you do not see the Python folder in the program files so, navigate to the below location

C:\Users\Username\AppData\Local\Programs\Python\Python39

If the installation is done with a different version, the folder name may be different from โ€œPython39.โ€ Look for a folder whose name starts with Python.

Add the following entries to the PATH variable, as shown below:

4.) Verify the Python Installation

We have now successfully installed Python 3.7.3 on Windows 10. We can verify if the Python installation is successful or not through the command line or the IDLE app installed along with the installation.

Search for the command prompt, open it, and typeย โ€œpythonโ€ when the prompt opens. Then, users can see that Python 3.8.2 has been successfully installed.

An alternate way to reach Python is to search for โ€œPythonโ€ in the start menu and click on IDLE (Python.exe).

From Editorโ€™s Desk

We can start coding in Python using the Integrated Development and Learning Environment (IDE). Coding can be done at both places, either from CMD or IDLE. So, now we are ready for coding and making programs on Python in our Windows 10 system. Enjoy!

LEAVE A REPLY

Please enter your comment!
Please enter your name here