Add --user and --upgrade options

This commit is contained in:
Pierre Poulain committed 2016-03-15 17:15:06 +01:00
1 parent 3d90b26b04
commit 49e1fc46f4
1 file changed
+6
+6
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