This is for my future reference because it's really handy if you don't want to drop a virtualenv or doing some crazy work on a vagrant box. Even ignores any packages you installed from git or vcs sources with the -e flag
pip freeze | grep -v "^-e" | xargs pip uninstall -y
No comments:
Post a Comment