Add --user and --upgrade options

This commit is contained in:
Pierre Poulain 2016-03-15 17:15:06 +01:00
parent 3d90b26b04
commit 49e1fc46f4
1 changed files with 6 additions and 0 deletions

View File

@ -4,6 +4,12 @@ pip search SomePackage
# Install some packages
pip install SomePackage
# Install some package in user space
pip install --user SomePackage
# Upgrade some package
pip install --upgrade SomePackage
# Output and install packages in a requirement file
pip freeze > requirements.txt
pip install -r requirements.txt