【发布时间】:2022-08-07 22:33:41
【问题描述】:
我正在尝试在 Google Colab 上下载内部 Git 以运行 ML 模型;但是,起初,我是这样下载的
!pip install git+https://dev.azure.com/xxxxx/xxxxxx
它显示错误,所以我在这个网站上发现了https://qdmana.com/2022/02/202202190011230865.html,表明用 git 替换 https 可能会有所帮助。
!pip install git+git://dev.azure.com/xxxxx/xxxxxx
尽管如此,它仍然显示如下错误,
Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/
Collecting git+git://dev.azure.com/xxx/xxx
Cloning git://dev.azure.com/xxx/xxx to /tmp/pip-req-build-mmz02x7l
Running command git clone -q git://dev.azure.com/xxx/xxx /tmp/pip-req-build-mmz02x7l
fatal: unable to connect to dev.azure.com:
dev.azure.com[0: 13.107.42.20]: errno=Connection timed out
dev.azure.com[1: 2620:1ec:21::20]: errno=Cannot assign requested address
WARNING: Discarding git+git://dev.azure.com/xxx/xxx Command errored out with exit status 128: git clone -q git://dev.azure.com/xxx/xxx /tmp/pip-req-build-mmz02x7l Check the logs for full command output.
ERROR: Command errored out with exit status 128: git clone -q git://dev.azure.com/xxx/xxx /tmp/pip-req-build-mmz02x7l Check the logs for full command output.
我们如何解决这个问题?
标签: azure-devops pip azure-pipelines google-colaboratory