Solve the python3.6 upgrade pip 21.1 version error
Project scenario:
System: Mav OS
python version: python3.6
PIP version: 20.1
Problem Description:
Pip prompts to upgrade to version 21.1:
directly does not consider execution: python -m pip install --upgrade pip
and then habitual pip list
Gao Neng is here... a big Fuck
There is no way to Baidu, who told us to program for Baidu?
Cause analysis and solution:
Report an error according to the prompt, what is missing NoReturn, we don’t know what it is, continue to follow up the source code class to find problemssource code
From the source code, we can see that there is this module, and the reference is normal. Try to delete it with inertial thinking, and still report an
error. This time, it should be referenced somewhere. If you don’t want to, continue to follow up
. Sure enough, continue to delete it (don’t forget to save it )
After deleting, continue to execute the pip list
, but I don’t know what impact it will have on the future, so let’s ignore it for now, as long as it can be used! ! !