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

前端 未结 10 870
予麋鹿
予麋鹿 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 05:02

    All credit for this goes to user han_solo, who left the answer as a comment, instead of as an answer:

    Instead of pip install stdlib_list --user

    use python -m pip install stdlib_list --user

    Replace stdlib_list with matplotlib or whatever the name is of the package you want.

提交回复
热议问题