pip3 update python3 code example Example 1: python update pip3 pip3 install --upgrade pip Example 2: how to update pip3 what Lightsbane said