pip no longer working after update error 'module' object is not callable

前端 未结 10 890
予麋鹿
予麋鹿 2020-11-28 04:31

After a pip update, pip has stopped working completely.

Z:\\>pip install matplotlib
Traceback (most recent call last):
  File \"c:\\program files\\python3         


        
10条回答
  •  生来不讨喜
    2020-11-28 04:54

    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.

提交回复
热议问题