簡體   English   中英

pip從bitbucket repo的分支安裝

[英]pip install from bitbucket repo's branch

git repo branch的pip install類似

雖然,它仍然無法正常工作。 這是github和bitbucket之間的區別嗎?

我正在使用FROM python:latest docker鏡像,我的dockerfile有RUN pip install -r requirements.txt

我的requirements.txt有:

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

但它給出了錯誤:

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

eyeD3是一個hg repo,而不是一個git repo。

嘗試類似的東西:

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

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

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM