I am trying to install a package from a private repository that I have access to using pip.
I am able to directly clone it.
But when I try to install it via pip, I am getting below error:
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
Regarding same, I have gone through the posts: Trouble installing private github repository using pip , Is it possible to use pip to install a package from a private GitHub repository? and Trouble installing private github repository using pip, but still I am unable to figure out how to solve this.