# 1) upgrade pip/setuptools python3 -m pip install -U pip setuptools # replace python3 with python version #2) best practice (as above) is to use: <pythonversion> -m pip # (not `pip ...`)