6. pip for package installation

Using pip to install packages

To install a package called cool-new-package:
python3 -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.
python3 -m pip install cool-new-package --upgrade

uninstall takes the package back off your machine.
python3 -m pip uninstall cool-new-package


Python package index

https://pypi.org/

Complete and Continue  
Discussion

0 comments