How to Downgrade Python Version From 3.11, 3.10, 3.9, 3.8 to 3.x on Windows 10, 8, 7.

Also Read, How to Downgrade python Version on Linux Ubuntu 22.04, Ubuntu 20.04, Ubuntu 18.04.

Downgrade python version on Windows 10, 8, 7 OS


Downgrade Python 3.10, 3.9, 3.8, 3.7, 3.6 version on Windows 10 OS:


Note: In this article mentioned how to downgrade python from 3.10 to Python 3.8. But remember the whole given steps are the same as Downgrade with any of the other Python versions.

Currently, Python3.10 is running on my system. I will downgrade the python version with python3.8. See Carefully.



> From the official Python website, download the version of Python you need.
  https://www.python.org/downloads/
  # I have Downloaded Python 3.8 for reference.
    

After downloading the Python Setup file, RUN  the Python3.x.x.exe file.

Note: I'm assuming your path was already configured when Python was previously downloaded, so don't click the Add Path box. And if you clicked, don't worry; we'll take care of this in the following steps.
    





> Check in-which directory python file is Configure...

 # In my case, it is installed under this directory.

C:\Users\John_Gilbert\AppData\Local\Programs\Python\

# It may be possible this directory is hidden by default so make it visible otherwise you can't locate your python configure file.
    




Step4. After Setup is completed go to " Environment Variables" and click on Edit under the "users variables for mains" section.


Step5. Delete the python3.8 paths which are automatically created during installation time.






 After Deleted.


> Now Just Replace the Python version on Path Variable settings which currently point to the python3.10 version with the new Downloaded Python3.8. then save.

Ex: Replace Python310 with Python38
C:\Users\manis\AppData\Local\Programs\Python\Python38\Scripts\
C:\Users\manis\AppData\Local\Programs\Python\Python38\
    


 Step7. Now open the command prompt and run the python. And you can see new python3.8 is run by default.


Note: If you want to again use the previously downloaded version again so you just replace Python Version Number Nothing to do anything else.

About the author

D Shwari
I'm a professor at National University's Department of Computer Science. My main streams are data science and data analysis. Project management for many computer science-related sectors. Next working project on Al with deep Learning.....

Post a Comment