Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

How to update Python on Windows?

  • Last Updated : 31 Aug, 2021

In this article, we are going to see how to update Python in the Windows system. For the sake of example, we will be upgrading from Python 3.6.8 to Python 3.9.6.

To check the current version of python on your system, use the following command in the command prompt:

 Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.  

To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course. And to begin with your Machine Learning Journey, join the Machine Learning - Basic Level Course

python -V

This will show you your current python version as shown below:



Using the executable installer:

Follow the below steps to update your python version:

Step 1: Go to Python’s official site.

Step 2: Click on the Downloads tab.

Here you will get a list of available releases.



Step 3: Download the version you need to upgrade to based on your system specifications(ie, 32-bit or 64-bit). Here we will be downloading the 64-bit installer for 3.9.6.

Step 4: Click on the installer and it will begin the installation. Make sure to select the “Add Python 3.9 to PATH” option. and click on “Install Now”.

This will start the installation as shown below:

After the installation is successful you will get the following message:

Now if you open up your cmd and use the below command:

python -V

You’ll see your version of Python has been updated to 3.9.6 as shown below:

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!