I've had a problem for years where every time I install a new version of Python into a new directory using the .exe installer from python.org, the installer deletes all the main Python files, such as ...
Modern Python developers use virtual environments (venvs), to keep their projects and dependencies separate. Managing project dependencies gets more complex as the number of dependencies grows.