Open edX notes installation

Hi community

I am trying to install notes and annotations using guide from https://openedx.atlassian.net/wiki/spaces/OpenOPS/pages/26182212/How+to+Get+edX+Notes+Running

While i am Installing the edx-notes-api using ansible as per step 5 i am getting below error.

Please advice how can i go about it?

failed: [localhost] (item=base.txt) => {“cmd”: “/edx/app/edx_notes_ap
i/venvs/edx_notes_api/bin/pip2 install --exists-action w -r /edx/app/
edx_notes_api/edx_notes_api/requirements/base.txt”, “failed”: true, "
item": “base.txt”, “msg”: “stdout: Collecting coreapi==2.3.3\n Using
cached https://files.pythonhosted.org/packages/fc/3a/9dedaad22962770
edd334222f2b3c3e7ad5e1c8cab1d6a7992c30329e2e5/coreapi-2.3.3-py2.py3-n
one-any.whl\nCollecting coreschema==0.0.4\n Using cached https://fil
es.pythonhosted.org/packages/91/64/960eefea2a1c48dfaaa39341aa5774cde1
c0b41579cf67d9ec79b532435c/coreschema-0.0.4-py2-none-any.whl\nCollect
ing django-cors-headers==2.4.0\n Using cached https://files.pythonho
sted.org/packages/cc/7e/83ba784ad2b95317bbbed915f0888d7d1cd8dc3d2e4b8
ddec8fbc4c3e800/django_cors_headers-2.4.0-py2.py3-none-any.whl\nColle
cting django-haystack==2.8.0\n Using cached https://files.pythonhost
ed.org/packages/4c/86/8896df37631f76751695c2660e52bd7ea6f3016b6443da6
debcf79b3dd08/django_haystack-2.8.0-py2-none-any.whl\nCollecting djan
go-rest-swagger==2.1.2\n Using cached https://files.pythonhosted.org
/packages/2c/12/28d0677756283d913f8371ad7590e16f5e6c8444044f5b1b1586f
956e610/django_rest_swagger-2.1.2-py2.py3-none-any.whl\nCollecting dj
ango-waffle==0.18.0\n Using cached https://files.pythonhosted.org/pa
ckages/ac/cf/1697fd14b61315b36d6c1f00b632426c19106a0afd13c18d43e7f428
755f/django_waffle-0.18.0-py2.py3-none-any.whl\nCollecting django==1.
11.26\n Using cached https://files.pythonhosted.org/packages/cf/19/6
32a613bc37bbf890f9323ba09374ce9af1d70bb4cba7ff4d3e5e0991b47/Django-1.
11.26-py2.py3-none-any.whl\nCollecting djangorestframework-jwt==1.11.
0\n Using cached https://files.pythonhosted.org/packages/2b/cf/b3932
ad3261d6332284152a00c3e3a275a653692d318acc6b2e9cf6a1ce3/djangorestfra
mework_jwt-1.11.0-py2.py3-none-any.whl\n\n:stderr: DEPRECATION: Pytho
n 2.7 will reach the end of its life on January 1st, 2020. Please upg
rade your Python as Python 2.7 won’t be maintained after that date. A
future version of pip will drop support for Python 2.7. More details
about Python 2 support in pip, can be found at https://pip.pypa.io/e
n/latest/development/release-process/#python-2-support\nERROR: Could
not find a version that satisfies the requirement djangorestframework
==3.10.3 (from -r /edx/app/edx_notes_api/edx_notes_api/requirements/b
ase.txt (line 15)) (from versions: 0.1, 0.1.1, 0.2.0, 0.2.1, 0.2.2, 0
.2.3, 0.2.4, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.4.0, 2.0.0, 2.0.1, 2.0.2,
2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.1.5, 2.1.6, 2.1.7, 2.1.8, 2.1.9,
2.1.10, 2.1.11, 2.1.12, 2.1.13, 2.1.14, 2.1.15, 2.1.16, 2.1.17, 2.2.
0, 2.2.1, 2.2.2, 2.2.3, 2.2.4, 2.2.5, 2.2.6, 2.2.7, 2.3.0, 2.3.1, 2.3
.2, 2.3.3, 2.3.4, 2.3.5, 2.3.6, 2.3.7, 2.3.8, 2.3.9, 2.3.10, 2.3.11,
2.3.12, 2.3.13, 2.3.14, 2.4.0, 2.4.1, 2.4.2, 2.4.3, 2.4.4, 2.4.5, 2.4
.6, 2.4.8, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.5, 3.1.0, 3.1.1, 3.
1.2, 3.1.3, 3.2.0, 3.2.1, 3.2.2, 3.2.3, 3.2.4, 3.2.5, 3.3.0, 3.3.1, 3
.3.2, 3.3.3, 3.4.0, 3.4.1, 3.4.2, 3.4.3, 3.4.4, 3.4.5, 3.4.6, 3.4.7,
3.5.0, 3.5.1, 3.5.2, 3.5.3, 3.5.4, 3.6.0, 3.6.1, 3.6.2, 3.6.3, 3.6.4,
3.7.0, 3.7.1, 3.7.2, 3.7.3, 3.7.4, 3.7.5, 3.7.6, 3.7.7, 3.8.0, 3.8.1
, 3.8.2, 3.9.0, 3.9.1, 3.9.2, 3.9.3, 3.9.4)\nERROR: No matching distr
ibution found for djangorestframework==3.10.3 (from -r /edx/app/edx_n
otes_api/edx_notes_api/requirements/base.txt (line 15))\n”}
to retry, use: --limit @/edx/app/edx_ansible/edx_ansible/play
books/notes.retry

PLAY RECAP **********************************************************


localhost : ok=90 changed=15 unreachable=0 fa
iled=1

INFO:/edx/app/edx_ansible/edx_ansible/playbooks/callback_plugins/task
_timing: Install ubuntu system packages -----------------------------
--------------------- 4.71s
INFO:/edx/app/edx_ansible/edx_ansible/playbooks/callback_plugins/task
_timing: Install role-independent useful system packages [0] --------
--------------------- 4.55s
INFO:/edx/app/edx_ansible/edx_ansible/playbooks/callback_plugins/task
_timing: Install system packages ------------------------------------
--------------------- 4.26s
INFO:/edx/app/edx_ansible/edx_ansible/playbooks/callback_plugins/task
_timing: Install the nginx package ----------------------------------
--------------------- 4.24s
INFO:/edx/app/edx_ansible/edx_ansible/playbooks/callback_plugins/task
_timing: Checkout code over https -----------------------------------
--------------------- 4.14s
INFO:/edx/app/edx_ansible/edx_ansible/playbooks/callback_plugins/task
_timing: Install application requirements ---------------------------
--------------------- 2.10s
INFO:/edx/app/edx_ansible/edx_ansible/playbooks/callback_plugins/task
_timing: pip install virtualenv -------------------------------------
--------------------- 2.03s
INFO:/edx/app/edx_ansible/edx_ansible/playbooks/callback_plugins/task
_timing: Install aws python packages --------------------------------
--------------------- 1.28s
INFO:/edx/app/edx_ansible/edx_ansible/playbooks/callback_plugins/task
_timing: Copy the templates to their respestive destination ---------
--------------------- 1.22s
INFO:/edx/app/edx_ansible/edx_ansible/playbooks/callback_plugins/task
_timing: Install supervisor in its venv [1] -------------------------
--------------------- 1.12s
INFO:/edx/app/edx_ansible/edx_ansible/playbooks/callback_plugins/task
_timing:
Playbook Deploy edX Notes API finished: 2019-12-10 14:38:43.127766, 1
95 total tasks. 0:00:55.692172 elapsed.

Your error trace says that it has issue with distribution of djangorestframework.

In master branch djangorestframework version has been upgraded to 3.10.3 from 3.6.3, check requirements/base.txt file in this commit.

This is happening becuse your configuration repo will be master.

Checkout configuration repo to open-release/ironwood.master if you don’t have any diff in it, then try again.

Thanks

I will try this.