How to Download Python Old Version and Install (Specific Version)

MD MIZANUR RAHMAN RIAD KHAN
3 min readSep 18, 2023

Python is a popular programming language recognized for its simplicity and adaptability. Although the majority of us use latest version Python version released, but sometimes it is vital to use a specific version while we working on older projects. I will go over the process of how to download and install an earlier version of Python in this post.

Check The Current Python Versions Installed on the System

To check the currently installed Python versions on your system, you can use the following methods depending on your operating system:

For windows

  1. Open the Command Prompt by pressing Win + R, typing cmd, and hitting Enter.
  2. In the Command Prompt, type the following command and press Enter:
py -0

The output of the above command indicates that Python 3.11 is presently installed on the system.

Only one version of python are present

Steps to Download and Install Python Old Version

For example, if you want to download python 3.9.13, then go to the following link: https://www.python.org/ftp/python/3.9.13

If you want to download other version, then find your specific version form the Python Index FTP Server: https://www.python.org/ftp/python

After download the exe file, you can simply install via following installing steps.

You can also install via Command Prompt

You can use the curl command to download the Python installer directly from the Python website. Run the following command:

curl -O https://www.python.org/ftp/python/3.9.13/python-3.9.13-amd64.exe

This command will download the Python 3.9.13 64-bit installer. You can change the URL to match the specific version you want.

Output of the above mentioned command

After the download is complete, run the Python installer by typing the following command and replacing python-3.9.13-amd64.exe with the name of the installer you downloaded:

python-3.9.13-amd64.exe

This will start the Python 3.9.13 installation process and Python installer will launch an installation wizard. Follow the on-screen instructions. Be sure to check the box that says “Add Python x.x to PATH” during the installation process so that Python is added to your system’s PATH.

Once the installation is complete, you can verify that Python 3.9 has been installed by opening a new command prompt and running:

py -0

Now the two version of python is there

python 3.9 are installed

Follow me on……………..

Facebook: https://www.facebook.com/mdriad00/
LinkedIn: https://www.linkedin.com/in/mdriad00/
GitHub: https://github.com/mdriad00
Website: MD MIZANUR RAHMAN RIAD KHAN

--

--

Responses (1)