ImportError: cannot import name 'SourceDistribution' from 'pip._internal.distributions.source'

后端 未结 5 1382
悲&欢浪女
悲&欢浪女 2020-12-02 00:50

pip3 install is not working and also pip3 is not being able to downgrade to pip19 from pip20.0:

Rayaans-MacBook-Pro:~ rayaangrewal$ pip3 install         


        
5条回答
  •  情书的邮戳
    2020-12-02 01:48

    This is a bug in pip 20.0; see https://github.com/pypa/pip/issues/7620

    It's fixed in pip 20.0.1. Upgrade to 20.0.1+ or downgrade to 19.3.1. Get get-pip.py and run

    python get-pip.py
    

    or

    python get-pip.py pip==19.3.1
    

提交回复
热议问题