After a pip update, pip has stopped working completely.
Z:\\>pip install matplotlib
Traceback (most recent call last):
File \"c:\\program files\\python3
If you do not wish to use the long command every time python -m pip install , reinstall pip to the older version where this error wasn't there.
python -m pip install pip==19.0.3
Now you will be able to use pip install matplotlib or pip list normally.
And whenever the bug is resolved, upgrade pip like you did before.