Skip to content

Instantly share code, notes, and snippets.

@silversonicaxel
Created December 17, 2019 07:01
Show Gist options
  • Save silversonicaxel/587c3d4431f9786ca6e38b49a715b1ad to your computer and use it in GitHub Desktop.
Save silversonicaxel/587c3d4431f9786ca6e38b49a715b1ad to your computer and use it in GitHub Desktop.
PIP #python #pip
// reads the versions of all installed packages in a local virtual environment
// then produces a text file with the package version for each python package specified
pip freeze > requirements.txt
// install the packages read from a requirements textfile
pip install - r requirements.txt
// install a specific package
pip install [package]
// list old packages installed according to the requirements textfile
pip list --outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment