Skip to content

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

  1. If you have Python 2.7 and Python 3 installed, use pip3 to make sure you are using the correct version of pip. Generally, use pip3 anyway unless your system has only one install and it is aliased to pip.
  2. Searching: use pip3 search X to search for packages
  3. Installing: use pip3 install X to install X

Check your understanding

How would you install the 'colored' package?

Just use pip3 install colored. Example of installing the 'colored' package