I’m always having problems with python and libraries, so I’m going to reinstall python and everything related to it. However, when I tried to do this, only python itself was removed, and pip and all the libraries it installed remained. Can you please tell me how to delete all data related to python?
OS: Windows 10
Answer 1, authority 100%
- We go into the environment variables through the properties of the computer. Remove everything related to python from there:
- Go to the old control panel, uninstall programs, and uninstall python (pcm – uninstall)
We also remove Lauchers, third-party IDEs, etc.
3.Open virtual environments and delete them too: (you can find them by the name venv, Scrips)
- Default python folder:
C:\Users\User\AppData\Local\Programs\Python\Python38for newer versions.
Libraries are stored in the Scripts folder. In principle, deleting python through the control panel should have cleaned everything itself, but if it didn’t clean it, we clean it from libraries.