Skip to content

Instantly share code, notes, and snippets.

@DmytroLitvinov
Created March 17, 2017 20:14
Show Gist options
  • Save DmytroLitvinov/78bade68498b16c5228ba976cb17f95f to your computer and use it in GitHub Desktop.
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
  • Uninstall anything not in requirements.txt 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