- Uninstall anything not in requirements.txt
pip freeze | grep -v -f requirements.txt - | grep -v '^#' | xargs pip uninstall -y
Created
March 17, 2017 20:14
-
-
Save DmytroLitvinov/78bade68498b16c5228ba976cb17f95f to your computer and use it in GitHub Desktop.
[PIP commands] Usefull pip commands for working with python packages. #tags: python, pip
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment