pip3 error - '_NamespacePath' object has no attribute 'sort'

后端 未结 16 1619
生来不讨喜
生来不讨喜 2020-12-07 18:39

I tried to install a package through pip3, and I got this error. Every pip/pip3 command that I run gives me this error-

alexg@hitbox:~$ pip3 -V
Traceback (m         


        
16条回答
  •  北荒
    北荒 (楼主)
    2020-12-07 19:27

    None of the other posted answered worked for me, but running the follow command solved t:

    sudo apt-get purge --auto-remove python3-pkg-resources python3-setuptools

提交回复
热议问题