Skip to content

Instantly share code, notes, and snippets.

@danieltomasz
Created June 15, 2018 21:33
Show Gist options
  • Save danieltomasz/f839bc78f7de32c1efe09078f43d0741 to your computer and use it in GitHub Desktop.
Save danieltomasz/f839bc78f7de32c1efe09078f43d0741 to your computer and use it in GitHub Desktop.
Uninstall package with dependencies
for dep in $(pip show python-neutronclient | grep Requires | sed 's/Requires: //g; s/,//g') ; do sudo pip uninstall -y $dep ; done
pip uninstall -y python-neutronclient
Source: http://stackoverflow.com/a/32698209/4828478
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment