How to Download Python Old Version and Install?

Introduction:

In this tutorial, we are learning how to Download Python's Old Version and Install it. Python is a well-known programming language for its simplicity and versatility. When we install Python on our system, we always install the latest version of Python. Still, sometimes, for some reason or regarding old projects, we need to install an older version of Python to be able to use the Legacy version of Python. Features have been removed from the latest version. In this tutorial, we will learn how to download and install the old version of Python.

How to Check the Python Version Installed on Your System?

To check the Python version installed on your system, you need to type the following command at the command prompt -

Output:

Now, we run the above command in the command prompt. In the output, it is shown that the Python 3.11 version is installed in our system. The output is given below -

C:\Users\USER>py -0
 -V:3.11 *        Python 3.11 (64-bit)
 -V:ContinuumAnalytics/Anaconda39-64 Anaconda 2022.10
 -V:ContinuumAnalytics/Anaconda38-64 Anaconda 2021.05

Please write down the steps to download the old Python version and install it.

Here, we learn the steps to download Python's old version and install it. The steps are given below -

Step 1:

First, we must visit "https://www.python.org/downloads/", which is the official website of Python. When we scroll down the page, we will see the old version of Python, as in the picture below. We can choose a specific Python version to install. Click Download to download a specific Python version.

How to Download Python Old Version and Install

Step 2:

After clicking on the download option, the download page will open. We need to return to the page to see the installation file in the screenshot below. Click on the installer compatible with Windows or macOS (64-bit or 32-bit). The installer that will install Python will be downloaded.

How to Download Python Old Version and Install

Step 3:

After double-clicking the downloaded installer on your system, a window will open, as seen in the picture below. Select the "Add Python 3.6.1 to path" checkbox to affect the path, and then click "Install Now" to install Python 3.6.1.

How to Download Python Old Version and Install

Step 4:

Run the "py -0" command at the command prompt to check all Python versions installed on your system. The output shown below shows that Python 3.6 has been successfully installed.

Step 5:

Now, we execute the command on the command prompt, as shown below. The first command will show the current version of Python. After running the second command, we can run the Python program, as shown below.