Why #egg=foo when pip-installing from git repo

前端 未结 4 661
伪装坚强ぢ
伪装坚强ぢ 2021-01-30 10:09

When I do a \"pip install -e ...\" to install from a git repo, I have to specify #egg=somename or pip complains. For example:

pip install -e git://github.com/hii         


        
4条回答
  •  野性不改
    2021-01-30 10:25

    You have to include #egg=Package so pip knows what to expect at that URL. See https://pip.pypa.io/en/stable/reference/pip_install/#vcs-support

    more on eggs

提交回复
热议问题