add python library to pip code example Example 1: how to download packages using pip pip install package name Example 2: how to install python libraries using pip pip install package name