6. pip for package installation
Using pip to install packages
To install a package called cool-new-package:
python -m pip install cool-new-package -U
Other helpful options
--upgrade gets the most recent version of a package even if it's already installed.
python -m pip install cool-new-package --upgrade
uninstall takes the package back off your machine.
python -m pip uninstall cool-new-package
Python package index