python -m ensurepippython -m pip install --upgrade pip
如果更新不成功,加上–user,就可以了。
python -m ensurepippython -m pip install --upgrade pip --user