download pip 21.0 code example Example 1: installing pip python -m pip install --upgrade pip Example 2: pip version pip --version