Installing and using Python on Windows 10 is very simple. The installation procedure involves just three steps:
- Download the binaries
- Run the Executable installer
- Add Python to PATH environmental variables
To install Python, you need to download the official Python executable installer. Next, you need to run this installer and complete the installation steps. Finally, you can configure the PATH variable to use python from the command line.
You can choose the version of Python you wish to install. It is recommended to install the latest version of Python, which is 3.7.3 at the time of writing this article.
Table of Contents
Step 1: Download the Python Installer binaries
- Open the official Python website in your web browser. Navigate to the Downloads tab for Windows.
- Choose the latest Python 3 release. In our example, we choose the latest Python 3.7.3 version.
- Click on the link to download Windows x86 executable installer if you are using a 32-bit installer. In case your Windows installation is a 64-bit system, then download Windows x86-64 executable installer.
Step 2: Run the Executable Installer
- Once the installer is downloaded, run the Python installer.
- Check the Install launcher for all users check box. Further, you may check the Add Python 3.7 to path check box to include the interpreter in the execution path.
- Select Customize installation.
- Documentation
- pip
- tcl/tk and IDLE (to install tkinter and IDLE)
- 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.
- This takes you to Advanced Options available while installing Python. Here, select the Install for all users and Add Python to environment variables check boxes.
Optionally, you can select the Associate files with Python, Create shortcuts for installed applications and other advanced options. Make note of the python installation directory displayed in this step. You would need it for the next step.
After selecting the Advanced options, click Install to start installation.
- Once the installation is over, you will see a Python Setup Successful window.
Choose the optional features by checking the following check boxes:
Click Next.
Step 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. In case you have added Python to environment variables while setting the Advanced options during the installation procedure, you can avoid this step. Else, 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 below locations:
- C:\Program Files (x86)\Python37-32: for 32-bit installation
- C:\Program Files\Python37-32: for 64-bit installation
The folder name may be different from “Python37-32” if you installed a different version. Look for a folder whose name starts with Python.
Append the following entries to PATH variable as shown below:
Step 4: Verify the Python Installation
You have now successfully installed Python 3.7.3 on Windows 10. You can verify if the Python installation is successful either through the command line or through the IDLE app that gets installed along with the installation.
Search for the command prompt and type “python”. You can see that Python 3.7.3 is successfully installed.
An alternate way to reach python is to search for “Python” in the start menu and clicking on IDLE (Python 3.7 64-bit). You can start coding in Python using the Integrated Development Environment(IDLE).
Hurray! You are ready to start developing Python applications in your Windows 10 system.
Also appreciated these instructions for installation! How do I start the “TKinter” GUI that’s included in the Python distribution pls?
Thanks a bunch buddy, your instructions helped me in installing Python. Keep up the good work!
Thank you a lot. You have no idea how much you helped me find my path as I begin my new life with python.
Whoever you are: I am highly indebted to you.
Thank you very much for this.
Thank you so much for the very nice and easy step by step python installation guide
Thank you so much, really helpful
Yes, thanks so much for these instructions. Well written, good choice of graphics of dialogue boxes that pop up during install, nice discussion of path and environmental variables.
Was really helpful in installing python as a first time user, I was able to easily install with this help.
Thank you very much for your beautiful tutorial on python installation.
How then do you save your code for future reference?
THANK YOU SO MUCH FOR YOUR INSTRUCTIONS BUT LAST STEP I COULD NOT DO . IT WILL CREATE ANY PROBLEM?
I HAVE SELECTED THE ENVIRONMENTAL VARIABLE WITH CHECK BOX. BUT I AM FACING ONE PROBLEM THAT MY FILES ARE NOT SAVING IN PYTHON FOLDER.IT IS SAVING IN MY NAME FOLDER. HOW CAN I RESOLVE THIS ISSUE.PLZ TELL
You nailed it. Thanks lots
I need python. So i can use it to download google assistant. And no i don’t have a phone. Not anymore.
Thank you
My smoothest setup experience ever.
Thank you ,so much it worked like a charm
Thank you very much for the instructions. It still works for the latest stable model (3.7.7).
Thanks for your support for installing Pathon. Amazing learning experience.
This page has been helped me so much!!!… step wise easy explanation and meaningful explanation.
Thank you so much for your instructions…
thank you for the explanation but when I follow all the above steps I got this message. What can I do with this challenges?
Warning:
This Python interpreter is in a conda environment, but the environment has
not been activated. Libraries may fail to load. To activate this environment
please see https://conda.io/activation
Thanks for this page! Looked through 4 other pages and they did not help at all, this easy step by step instruction and clear explanations made it very easy to download python!