[PYTHON] pip command collection

Here is a summary of the pip commands required to use python.

Package installation

-U is used when updating to the latest version Options such as --quit, --proxy and -e (--editable) are also possible Since --e is installed in-place, there is no need to reinstall even if the source code under development is installed and edited from git etc.

pip install -U Flask

Uninstall a package

-Y if no confirmation is required

pip uninstall -y Flask

Version confirmation

pip --version

View a list of installed packages and their versions in requirements format

pip freeze

View a list of installed packages

--outdated shows old packages

pip list

View information about installed packages

pip show Flask

help

pip install -h

Save the output of pip freeze to requirements.txt

pip freeze > requirements.txt

Install from requirements.txt

Check the difference from the original requirements.txt with -r

pip install -r requirements.txt

Recommended Posts

pip command collection
Broken pip command
Linux command collection
Install the pip command
linux command error collection 1
[Note] Useful linux command collection
[Infrastructure] Linux command, shell script collection
Command installation destination with pip, easy_install
Don't you know it? pip command
Linux command # 4
Linux command # 3
Command memorandum
nkf command
vim command
pip installation
1. Reinstall pip
pip memorandum
sed command
Linux command # 5
grep command
About pip
command memo
top command
pip installation
Command memorandum
Command memo
mv command
seq command
pip installation
Command to automatically update pip library at once