# Install xblock in dev mode failed

**URL:** <https://discuss.openedx.org/t/install-xblock-in-dev-mode-failed/10116>\
**Category:** Tutor Help\
**Created:** [May 16, 2023, 11:44am UTC](https://discuss.openedx.org/t/install-xblock-in-dev-mode-failed/10116 "2023-05-16T11:44:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![eazaika](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/eazaika/32/5333_2.png) [@eazaika](https://discuss.openedx.org/u/eazaika)\
**Post date:** [May 16, 2023, 11:44am UTC](https://discuss.openedx.org/t/install-xblock-in-dev-mode-failed/10116/1 "2023-05-16T11:44:07Z")

</div>

Hi,  
use tutor 15.3.4 + edX olive.3  
follow [instructions](https://docs.tutor.overhang.io/dev.html#xblock-and-edx-platform-plugin-development) for install any xblock in dev mode:

```auto
git clone https://github.com/eazaika/mypackage.git
echo "-e ./mypackage" >> "$(tutor config printroot)/env/build/openedx/requirements/private.txt"

```

then  
`tutor dev dc build lms` (or `tutor images build openedx` give same effect) throw an error:

```auto
Step 42/110 : COPY ./requirements/ /openedx/requirements
 ---> Using cache
 ---> 7658a9fe0f49
Step 43/110 : RUN cd /openedx/requirements/ && touch ./private.txt && pip install -r ./private.txt
 ---> Running in fc4c039eb842
ERROR: ./mypackage is not a valid editable requirement. It should either be a path to a local project or a VCS URL (beginning with bzr+http, bzr+https, bzr+ssh, bzr+sftp, bzr+ftp, bzr+lp, bzr+file, git+http, git+https, git+ssh, git+git, git+file, hg+file, hg+http, hg+https, hg+ssh, hg+static-http, svn+ssh, svn+http, svn+https, svn+svn, svn+file).

[notice] A new release of pip available: 22.3.1 -> 23.1.2
[notice] To update, run: pip install --upgrade pip
The command '/bin/sh -c cd /openedx/requirements/ && touch ./private.txt && pip install -r ./private.txt' returned a non-zero code: 1
Error: Command failed with status 1: docker build -t eazaika/openedx:olive /tutor-olive/tutor/env/build/openedx

```

Gets error if any path on ./mypackage, standard python git app

```auto
ls -la mypackage
drwxrwxr-x 7 eazaika eazaika 4096 may 16 12:52 .
drwxrwxr-x 7 eazaika eazaika 4096 may 16 13:09 ..
drwxrwxr-x 2 eazaika eazaika 4096 may 16 12:52 mypackage
drwxrwxr-x 3 eazaika eazaika 4096 may 16 12:52 docs
-rw-rw-r-- 1 eazaika eazaika 188 may 16 12:52 .editorconfig
drwxrwxr-x 8 eazaika eazaika 4096 may 16 12:52 .git
drwxrwxr-x 3 eazaika eazaika 4096 may 16 12:52 .github
-rw-rw-r-- 1 eazaika eazaika 139 may 16 12:52 .gitignore
-rw-rw-r-- 1 eazaika eazaika 1297 may 16 12:52 LICENSE
-rw-rw-r-- 1 eazaika eazaika 64 may 16 12:52 MANIFEST.in
-rw-rw-r-- 1 eazaika eazaika 213 may 16 12:52 pyproject.toml
-rw-rw-r-- 1 eazaika eazaika 5579 may 16 12:52 README.rst
-rw-rw-r-- 1 eazaika eazaika 76 may 16 12:52 .readthedocs.yml
-rw-rw-r-- 1 eazaika eazaika 1501 may 16 12:52 setup.cfg
-rw-rw-r-- 1 eazaika eazaika 93 may 16 12:52 setup.py
drwxrwxr-x 2 eazaika eazaika 4096 may 16 12:52 tests
-rw-rw-r-- 1 eazaika eazaika 904 may 16 12:52 tox.ini

```

Early, on tutor 14 + edX nutmeg it works fine  
Whats happend?

---

<div class="post-metadata">

**Author:** ![eazaika](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/eazaika/32/5333_2.png) [@eazaika](https://discuss.openedx.org/u/eazaika)\
**Post date:** [May 22, 2023, 2:48pm UTC](https://discuss.openedx.org/t/install-xblock-in-dev-mode-failed/10116/2 "2023-05-22T14:48:31Z")

</div>

forgot to copy git package to requirements dir  
`git clone https://github.com/eazaika/django-auth-ldap.git "$(tutor config printroot)/env/build/openedx/requirements/django-auth-ldap"`  
now works fine
