The Wayback Machine - https://web.archive.org/web/20230313030153/https://www.geeksforgeeks.org/how-to-update-python-on-windows/
Skip to content
Related Articles
Open in App
Not now

Related Articles

How to update Python on Windows?

Improve Article
Save Article
  • Last Updated : 31 Aug, 2021
Improve Article
Save Article

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:

Image

Using the executable installer:

Follow the below steps to update your python version:

Step 1: Go to Python’s official site.

Image

Step 2: Click on the Downloads tab.

Image

Here you will get a list of available releases.

Image

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.

Image

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”.

Image

This will start the installation as shown below:

Image

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

Image

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:

Image

My Personal Notes arrow_drop_up
Related Articles

Start Your Coding Journey Now!