Skip to content

Instantly share code, notes, and snippets.

@wdv4758h
Last active August 29, 2015 14:02
Show Gist options
  • Select an option

  • Save wdv4758h/2b0e27b0eca1b785f1ae to your computer and use it in GitHub Desktop.

Select an option

Save wdv4758h/2b0e27b0eca1b785f1ae to your computer and use it in GitHub Desktop.
some pip command

輸出已安裝的 packages 成 requirements 格式

pip freeze

從 requirements 安裝

pip install -r /path/to/requirements.txt

Upgrade all packages (workaround)

pip freeze --local | grep -v '^\-e' | cut -d = -f 1  | xargs pip install -U
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment