python packages pip code example Example 1: pip version pip --version Example 2: install packages with pip from python pip3 install