cmd python pip install code example Example 1: using pip windows cmd python -m pip install Example 2: install pip3 for python 3.7 sudo apt install python3-pip