Open In App
Related Articles

How to update Python on Windows?

Improve Article
Improve
Save Article
Save
Like Article
Like

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:

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:

Last Updated : 31 Aug, 2021
Like Article
Save Article
Similar Reads
Related Tutorials