I manually installed Python 3.9.0 in my specified folder. However, Windows always updated it to 3.9.13 overnight, and installed into C:\Users\AppData\Local\Programs\Python\Python39. How can I prevent it?
I tried reinstalling Python 3.9.0. But Windows always upgraded it for me.
It seems like you have encountered a situation where Windows automatically updates the installed version of Python. This can happen if you have the Microsoft Store version of Python installed, which may update automatically.
To prevent automatic updates and have more control over your Python installation, you might want to consider the following steps:
Uninstall the Microsoft Store Version:
Go to “Settings” on your Windows machine. Select “Apps.” Find and uninstall the Python version installed through the Microsoft Store. Install Python from the Official Website:
Download the Python installer from the official Python website: https://www.python.org/downloads/ During installation, make sure to check the box that says “Add Python X.X to PATH” to ensure that the installed version is easily accessible from the command line. Disable Automatic App Updates:
Open the Microsoft Store. Click on the three dots in the upper-right corner and select “Settings.” Turn off the toggle switch for “Update apps automatically.” Check for Scheduled Tasks:
Sometimes, automatic updates are triggered by scheduled tasks. Check the Task Scheduler for any tasks related to Python updates and disable them. By following these steps, you should have more control over your Python installation, and Windows should not automatically update it. Make sure to regularly check for updates manually if you want to stay up-to-date with the latest Python releases.