# Open edX install: "SyntaxError: invalid syntax"

**URL:** <https://discuss.openedx.org/t/open-edx-install-syntaxerror-invalid-syntax/6306>\
**Category:** Site Operations Help\
**Created:** [December 21, 2021, 8:28am UTC](https://discuss.openedx.org/t/open-edx-install-syntaxerror-invalid-syntax/6306 "2021-12-21T08:28:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Simranjeet\_kaur](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/simranjeet_kaur/32/3116_2.png) [@Simranjeet\_kaur](https://discuss.openedx.org/u/Simranjeet_kaur)\
**Post date:** [December 21, 2021, 8:28am UTC](https://discuss.openedx.org/t/open-edx-install-syntaxerror-invalid-syntax/6306/1 "2021-12-21T08:28:55Z")

</div>

I am installing Open edX devstack for local machine through Ubuntu vm. but getting the following error after running the command make dev.provision

```auto
++ docker-compose exec lms bash -c 'source /edx/app/edxapp/edxapp_env && cd /edx/app/edxapp/edx-platform && NO_PYTHON_UNINSTALL=1 paver install_prereqs'
Traceback (most recent call last):
  File "/edx/app/edxapp/venvs/edxapp/bin/paver", line 8, in <module>
    sys.exit(main())
  File "/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/paver/tasks.py", line 890, in main
    _launch_pavement(args)
  File "/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/paver/tasks.py", line 858, in _launch_pavement
    exec(compile(source, environment.pavement_file, 'exec'), mod. __dict__ )
  File "pavement.py", line 14, in <module>
    from pavelib import *
  File "/edx/app/edxapp/edx-platform/pavelib/ __init__.py", line 4, in <module>
    from . import (
  File "/edx/app/edxapp/edx-platform/pavelib/prereqs.py", line 121
    print '{cache} unchanged, skipping...'.format(cache=cache_name)
          ^
SyntaxError: invalid syntax
make: *** [Makefile:44: dev.provision.run] Error 1
```

---

<div class="post-metadata">

**Author:** ![chintan](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/chintan/32/52_2.png) [@chintan](https://discuss.openedx.org/u/chintan)\
**Post date:** [December 21, 2021, 8:33am UTC](https://discuss.openedx.org/t/open-edx-install-syntaxerror-invalid-syntax/6306/2 "2021-12-21T08:33:54Z")

</div>

Hi

Can you check if OPENEDX\_RELEASE is set correctly ?

This might happen if there are some version related issues.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/openedx/original/2X/e/e0015f89e879bc75925b71fd11133ab15fe98297.png) [@system](https://discuss.openedx.org/u/system)\
**Post date:** [March 21, 2022, 8:34am UTC](https://discuss.openedx.org/t/open-edx-install-syntaxerror-invalid-syntax/6306/3 "2022-03-21T08:34:44Z")

</div>

Closed on March 21, 2022, 8:34am UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
