Reputation: 8004
I am having problem with python and would like to remove completely so I can install it again
I went to Add remove programs and uninstalled Coda Python and Python 3.8 that I already have
I thought by doing that I uninstalled it successfully
but after I install it again I found that all libraries already there and having same problems
I tried uninstall libraries through pip unistall tensorflow-gpu
but python is stuck there and does nothing, I left my computer over night and still nothing happened.
So How to remove everything and start green field?
Upvotes: 1
Views: 1765
Reputation: 4101
I've found this as an alternative solution. It's a more graceful removal of libraries
pip freeze | xargs pip uninstall -y
In case you have packages installed via VCS, you need to exclude those lines and remove the packages manually (elevated from the comments below):
pip freeze | grep -v "^-e" | xargs pip uninstall -y
Upvotes: 1