Open edX install: "SyntaxError: invalid syntax"

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

++ 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>
  File "/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/paver/", line 890, in main
  File "/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/paver/", line 858, in _launch_pavement
    exec(compile(source, environment.pavement_file, 'exec'), mod.__dict__)
  File "", line 14, in <module>
    from pavelib import *
  File "/edx/app/edxapp/edx-platform/pavelib/", line 4, in <module>
    from . import (
  File "/edx/app/edxapp/edx-platform/pavelib/", line 121
    print '{cache} unchanged, skipping...'.format(cache=cache_name)
SyntaxError: invalid syntax
make: *** [Makefile:44:] Error 1


Can you check if OPENEDX_RELEASE is set correctly ?

This might happen if there are some version related issues.

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