# Failed to create 'tutor images build openedx' due to a change in the Django-Require repository

**URL:** <https://discuss.openedx.org/t/failed-to-create-tutor-images-build-openedx-due-to-a-change-in-the-django-require-repository/12707>\
**Category:** Tutor Help\
**Tags:** how-to, nutmeg\
**Created:** [April 5, 2024, 9:53am UTC](https://discuss.openedx.org/t/failed-to-create-tutor-images-build-openedx-due-to-a-change-in-the-django-require-repository/12707 "2024-04-05T09:53:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Komal\_Raval](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/komal_raval/32/4153_2.png) [@Komal\_Raval](https://discuss.openedx.org/u/Komal_Raval)\
**Post date:** [April 5, 2024, 9:53am UTC](https://discuss.openedx.org/t/failed-to-create-tutor-images-build-openedx-due-to-a-change-in-the-django-require-repository/12707/1 "2024-04-05T09:53:06Z")

</div>

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 [fix: Applied `django-require` package updates needed. · CUCWD/edx-platform@c9a27ed · GitHub](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 🙂

---

<div class="post-metadata">

**Author:** ![Mahendra](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/mahendra/32/3902_2.png) [@Mahendra](https://discuss.openedx.org/u/Mahendra)\
**Post date:** [April 5, 2024, 10:31am UTC](https://discuss.openedx.org/t/failed-to-create-tutor-images-build-openedx-due-to-a-change-in-the-django-require-repository/12707/2 "2024-04-05T10:31:06Z")

</div>

A few days back I faced the same issue. I removed django-required from requirements txt files. Then I executed the below command to build the openedx image:

`tutor images build openedx --build-arg EDX_PLATFORM_REPOSITORY=<My github repo URL> --build-arg EDX_PLATFORM_VERSION=<My new created branch> --no-cache`

and it works for me.
