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

前端 未结 10 891
予麋鹿
予麋鹿 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:47

    Have the habit of installing any python packages with pip using python -m, say for installing numpy use below command:

    python -m pip install numpy

    In case if it errros out with the environment permission error append --user in the same command:

    python -m pip install numpy --user

提交回复
热议问题