Error after upgrading pip: cannot import name 'main'

后端 未结 30 2113
清歌不尽
清歌不尽 2020-11-22 15:51

Whenever I am trying to install any package using pip, I am getting this import error:

guru@guru-notebook:~$ pip3 install numpy
Traceback (most recent call l         


        
30条回答
  •  甜味超标
    2020-11-22 16:07

    Please run the following commands to do the fix. After running python3 -m pip install --upgrade pip, please run the following command.

    hash -r pip
    

    Source: https://github.com/pypa/pip/issues/5221

提交回复
热议问题