python setup.py uninstall
Problem
Sometimes you need to install a software with “python setup.py install“. However, if you want to get rid of it, there is no “python setup.py uninstall” or “python setup.py remove”. Stupid, but true.
Solution
I found the solution here. In short:
# install: $ (sudo) python setup.py install # uninstall: $ pip freeze | grep PATTERN_BASED_ON_PACKAGE_NAME # then remove with pip: $ (sudo) pip uninstall PACKAGE_NAME
Comments (0)
Trackbacks (0)
Leave a comment
Trackback
