Skip to content

Instantly share code, notes, and snippets.

@cfbarbero
Created June 26, 2018 19:26
Show Gist options
  • Save cfbarbero/3b80f6bfba68093606fda260af43e9c9 to your computer and use it in GitHub Desktop.
Save cfbarbero/3b80f6bfba68093606fda260af43e9c9 to your computer and use it in GitHub Desktop.
# Next time you need to install something with python setup.py -- which should be never but things happen.
python setup.py install --record files.txt
# This will cause all the installed files to be printed to that directory.
# Then when you want to uninstall it simply run; be careful with the 'sudo'
cat files.txt | xargs sudo rm -rf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment