After win10 failed to upgrade pip, it prompts No module named pip

problem

After win10 upgrade pip, after the upgrade error, prompt No module named pip, the solution is as follows

solve

Execute the following code in turn

  python -m ensurepip 
  python -m pip install --upgrade pip

Guess you like

Origin blog.csdn.net/qq_40420192/article/details/113498850