Can't install via pip because of egg_info error

后端 未结 10 1171
-上瘾入骨i
-上瘾入骨i 2020-11-22 13:58

No matter which package I\'m trying to install, I get this error:

error: invalid command \'egg_info\'

----------------------------------------
Cleaning up.         


        
10条回答
  •  说谎
    说谎 (楼主)
    2020-11-22 14:39

    For me reinstalling and then upgrading the pip worked.

    1. Reinstall pip by using below command or following link How do I install pip on macOS or OS X?

      curl https://bootstrap.pypa.io/get-pip.py -o - | python

    2. Upgrade pip after it's installed

      pip install -U pip

提交回复
热议问题