Last active
August 24, 2016 04:58
-
-
Save SehoNoh/73856d85c5d8b677d83e7cffb8770173 to your computer and use it in GitHub Desktop.
Uninstall unused python modules via requirements.txt / reference: https://stackoverflow.com/questions/13176968/how-can-i-use-a-pip-requirements-file-to-uninstall-as-well-as-install-packages/15708711#15708711
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pip freeze | grep -v -f requirements.txt - | grep -v '^#' | xargs pip uninstall -y |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment