我正在尝试从我可以使用pip访问的私有存储库中安装软件包。
我能够直接克隆它。
但是当我尝试通过pip安装它时,出现以下错误:
ERROR: Command errored out with exit status 128:
command: git clone -q 'ssh://****@github.com/my_projects/ib_client' /tmp/pip-req-
build-ivumdv23
cwd: None
Complete output (7 lines):
key_load_public: invalid format
Warning: Permanently added the ECDSA host key for IP address 'AA.BB.CC.DD' to the list
of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
----------------------------------------
ERROR: Command errored out with exit status 128: git clone -q
'ssh://****@github.com/my_projects/ib_client' /tmp/pip-req-build-ivumdv23 Check
the logs for full command output.
The command '/bin/sh -c python3 -m pip install --upgrade pip && python3 -m pip install -q -r ${BASE_DIR}/requirements.txt && python3 -m pip install -q -r ${BASE_DIR}/healthchecks/requirements.txt' returned a non-zero code: 1
make: *** [build] Error 1
关于这一点,我已经浏览了Trouble installing private github repository using pip,Is it possible to use pip to install a package from a private GitHub repository?和Trouble installing private github repository using pip的帖子,但是我仍然不知道该如何解决。