pip is a package manager for Python. It makes it easy to install and upgrade Python packages using the command line. Installing a Python package using pip is as easy as opening the command line and typing:
pip install -U requests
- “requests” is the package you want to install
- “install” tells pip you want to install a package. If you want to uninstall a package simply type “uninstall”.
- The “-U” flag tells pip that if the package is already installed, then upgrade it.