pip从bitbucket repo的分支安装

Tjo*_*rie 6 python git pip bitbucket

git repo branch的pip install类似

虽然,它仍然无法正常工作.这是github和bitbucket之间的区别吗?

我正在使用FROM python:latestdocker镜像和我的dockerfileRUN pip install -r requirements.txt

我的requirements.txt有:

-e git+https://bitbucket.org/nicfit/eyed3.git@py3#egg=eyed3
Run Code Online (Sandbox Code Playgroud)

但它给出了错误:

致命:未找到存储库' https://bitbucket.org/nicfit/eyed3.git/ '

Jos*_*h J 5

eyeD3是一个hg回购,而不是git回购.

尝试类似的东西:

pip install -e hg+https://bitbucket.org/nicfit/eyed3#egg=eyeD3
Run Code Online (Sandbox Code Playgroud)

请参阅https://pip.pypa.io/en/latest/reference/pip_install.html#mercurial