Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

ERROR: Command errored out with exit status 128

Pantelis Kaniouras March 31, 2021

Good evening people,

 

I am trying to run pip install -r requirements.txt and through that clone some code from a bitbucket repo. When I do that I get the following error:


(my_env) C:\Users\...\tool>pip install -r requirements.txt
Collecting git+ssh://****@bitbucket.org/.../...git@4.19.0#subdirectory=py (from -r requirements.txt (line 8))
Cloning ssh://****@bitbucket.org/.../...git (to revision 4.19.0) to c:\users\...\appdata\local\temp\pip-req-build-t9_wrhxh
ERROR: Command errored out with exit status 128: git clone -q 'ssh://****@bitbucket.org/.../...git' 'C:\Users\...\AppData\Local\Temp\pip-req-build-t9_wrhxh' Check the logs for full command output.

 

The requirements.txt file contains the following text:

git+ssh://git@bitbucket.org/.../...git@4.19.0#subdirectory=py 
git+ssh://git@bitbucket.org/.../...git@c99b7f6f372c92832eecfb90663833ef1fd3dc62
git+ssh://git@bitbucket.org/.../...git@45d2999ce5f6eba5dd728414073a10d1c50616a2
git+ssh://git@bitbucket.org/.../....git@1ba2781cd2beae6d23218565c395b633b0eb5328
#pytest==4.4.0.

1 answer

0 votes
Pantelis Kaniouras April 1, 2021

Solved: the requirements.txt file moves forward before requesting the passphrase from the user and therefore, cannot clone.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events