# ERROR: failed to solve: exit code: 127

**URL:** <https://discuss.openedx.org/t/error-failed-to-solve-exit-code-127/15224>\
**Category:** Tutor Help\
**Tags:** tutor\
**Created:** [March 12, 2025, 12:12pm UTC](https://discuss.openedx.org/t/error-failed-to-solve-exit-code-127/15224 "2025-03-12T12:12:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Best](https://avatars.discourse-cdn.com/v4/letter/b/8baadc/32.png) [@Best](https://discuss.openedx.org/u/Best)\
**Post date:** [March 12, 2025, 12:12pm UTC](https://discuss.openedx.org/t/error-failed-to-solve-exit-code-127/15224/1 "2025-03-12T12:12:32Z")

</div>

greeting

Hi, I am a college student, I am trying to study on my own and am looking for solutions below. The problem started to occur after I installed sumac2My openedx page became a blank page. Can someone teach me to solve problems? Or have a video that can be recommended? I tried to follow the chatgpt, but it didn’t work.

## =\> ERROR [stage-0 5/5] RUN --mount=type=cache,target=/openedx/.cache/pip,sharing=shared pip install 'git+htt 0.6s

> [stage-0 5/5] RUN --mount=type=cache,target=/openedx/.cache/pip,sharing=shared pip install ‘git+https://github.com/techin18/frontend-app-authn.git’:  
> 0.568 /bin/sh: 1: pip: not found

* * *

## Dockerfile:8

7 |  
8 | \>\>\> RUN --mount=type=cache,target=/openedx/.cache/pip,sharing=shared   
9 | \>\>\> pip install ‘git+https://github.com/techin18/frontend-app-authn.git’

| 10 |
| --- |
| ERROR: failed to solve: process “/bin/sh -c pip install ‘git+https://github.com/techin18/frontend-app-authn.git’” did not complete successfully: [quote=“Komal\_Raval, post:1, topic:12707, full:true”] |
| Hello everyone, |

I am working with the openedx release nutmeg in the tutor.

i am trying to run `tutor images build openedx` and `tutor dev quickstart`.

it thows me an below error:

```auto
28.81 Resolved https://github.com/edx-solutions/xblock-google-drive.git to commit 2d176468e33c0713c911b563f8f65f7cf232f5b6
28.81 Preparing metadata (setup.py): started
29.58 Preparing metadata (setup.py): finished with status 'done'
29.58 Obtaining file:///openedx/edx-platform/common/lib/xmodule (from -r ./requirements/edx/base.txt (line 33))
29.58 Preparing metadata (setup.py): started
30.35 Preparing metadata (setup.py): finished with status 'done'
30.35 Collecting django-require@ git+https://github.com/edx/django-require.git@0c54adb167142383b26ea6b3edecc3211822a776
30.35 Cloning https://github.com/edx/django-require.git (to revision 0c54adb167142383b26ea6b3edecc3211822a776) to /tmp/pip-install-zk3cqi1a/django-require_13737be5c921441889b544acf20c5fdc
30.36 Running command git clone --filter=blob:none --quiet https://github.com/edx/django-require.git /tmp/pip-install-zk3cqi1a/django-require_13737be5c921441889b544acf20c5fdc
31.69 Running command git rev-parse -q --verify 'sha^0c54adb167142383b26ea6b3edecc3211822a776'
31.70 Running command git fetch -q https://github.com/edx/django-require.git 0c54adb167142383b26ea6b3edecc3211822a776
32.36 fatal: remote error: upload-pack: not our ref 0c54adb167142383b26ea6b3edecc3211822a776
32.36 fatal: the remote end hung up unexpectedly
32.38 error: subprocess-exited-with-error
32.38   
32.38 × git fetch -q https://github.com/edx/django-require.git 0c54adb167142383b26ea6b3edecc3211822a776 did not run successfully.
32.38 │ exit code: 128
32.38 ╰─> See above for output.
32.38   
32.38 note: This error originates from a subprocess, and is likely not a problem with pip.
32.38 error: subprocess-exited-with-error
32.38 
32.38 × git fetch -q https://github.com/edx/django-require.git 0c54adb167142383b26ea6b3edecc3211822a776 did not run successfully.
32.38 │ exit code: 128
32.38 ╰─> See above for output.
32.38 
32.38 note: This error originates from a subprocess, and is likely not a problem with pip.
32.39 WARNING: You are using pip version 22.0.4; however, version 24.0 is available.
32.39 You should consider upgrading via the '/openedx/venv/bin/python -m pip install --upgrade pip' command.
------
failed to solve: process "/bin/sh -c pip install -r ./requirements/edx/base.txt" did not complete successfully: exit code: 1

```

i tried below solutions:

1. Apply patch which is given in this [https://github.com/CUCWD/edx-platform/commit/c9a27edb3adb4be1626920df2871039624dc139c](https://github.com/CUCWD/edx-platform/commit/c9a27edb3adb4be1626920df2871039624dc139c) discussion.
2. remove django-require from the base.txt and other files too.

Both solutions will not worked for me.

Also below discussion i found:  
[https://discuss.openedx.org/t/django-require-change-repository/12483](https://discuss.openedx.org/t/django-require-change-repository/12483)

please suggest some solutions.

Thanks in Advance 🙂  
[/quote]
