Here is a summary of the pip commands required to use python.
-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
-Y if no confirmation is required
pip uninstall -y Flask
pip --version
pip freeze
--outdated shows old packages
pip list
pip show Flask
pip install -h
pip freeze > requirements.txt
Check the difference from the original requirements.txt with -r
pip install -r requirements.txt
Recommended Posts