从 bitbucket repo 的分支安装 pip

pip install from bitbucket repo's branch

类似于pip install from git repo branch

尽管如此,还是不​​行。 github 和 bitbucket 有区别吗?

我正在使用 FROM python:latest docker 图片并且我的 docker 文件有 RUN pip install -r requirements.txt

我的 requirements.txt 有:

-e git+https://bitbucket.org/nicfit/eyed3.git@py3#egg=eyed3

但它给出了错误:

fatal: repository 'https://bitbucket.org/nicfit/eyed3.git/' not found

eyeD3 是 hg 存储库,而不是 git 存储库。

尝试类似的操作:

pip install -e hg+https://bitbucket.org/nicfit/eyed3#egg=eyeD3

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