To install or update required packages in python, most people use
But if you just open a console/terminal window and type in a pip command, you will get an error similar to this (this can vary depending on your OS):
'pip' is not recognized as an internal or external command, operable program or batch file.
Luckily, Python’s CLI has an option
-m, which allows you to directly call a module (for example pip):
python -m pip install flask