Pip
Pip is a package installer that allows you to access the huge number of packages available for python.
The documentation is very good: https://pip.pypa.io/en/stable/quickstart/
Pip Tips
- If you have Python 2.7 and Python 3 installed, use
pip3
to make sure you are using the correct version of pip. Generally, usepip3
anyway unless your system has only one install and it is aliased topip
. - Searching: use
pip3 search X
to search for packages - Installing: use
pip3 install X
to install X
Check your understanding
How would you install the 'colored' package?
Just use pip3 install colored
.