rmtest
(RM)
January 23, 2020, 9:33am
1
I am installing open edx on ubuntu 16.4 using below link tutorial https://edx.readthedocs.io/projects/edx-installing-configuring-and-running/en/latest/installation/index.html .
While hitting below command i am facing issues
make dev.provision
++ docker-compose exec -T 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 11, in <module>
sys.exit(main())
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/paver/tasks.py", line 890, in main
_launch_pavement(args)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/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 "pavelib/__init__.py", line 6, in <module>
from . import assets, bok_choy, database, docs, i18n, js_test, prereqs, quality, servers, tests
File "pavelib/assets.py", line 24, in <module>
from .utils.envs import Env
File "pavelib/utils/envs.py", line 331
file=sys.stderr,
^
SyntaxError: invalid syntax
Makefile:57: recipe for target 'dev.provision.run' failed
make: *** [dev.provision.run] Error 1
nedbat
(Ned Batchelder)
January 24, 2020, 6:30pm
2
Somehow you are running Python 2. How did you set up your Python environment?
1 Like
oma0256
(Omarwoth Jonathan)
February 26, 2020, 12:36pm
3
@rmtest did you resolve this @nedbat any help will be much appreciated thank you.
nedbat
(Ned Batchelder)
February 26, 2020, 4:51pm
4
@oma0256 There’s not enough information here to figure out why this failure is happening. If it is happening to you, give us specifics about what you did, and what happened.
oma0256
(Omarwoth Jonathan)
February 26, 2020, 4:56pm
5
I have been following this article to install open-edx devstack version on my laptop, however when ever I run make dev.provision
, I get the same error as above.
nedbat
(Ned Batchelder)
February 26, 2020, 8:17pm
6
Those instructions mention Hawthorn, as in open-release/hawthorn.master. Are you trying to install Hawthorn?
oma0256
(Omarwoth Jonathan)
February 26, 2020, 8:21pm
7
I’m not really familiar with the versions trying to get open edx up and running on my machine as fast as possible.
chinmaybhatk
(Chinmay Bhat K 🇮🇳 )
February 27, 2020, 12:23am
8
@oma0256 , for exploring the platform or to know about features and it’s working, try using bitnami openedx virtual machine.
oma0256
(Omarwoth Jonathan)
February 27, 2020, 9:59am
9
@chinmaybhatk thank you I have that setup though I really preferred the devstack version for development. I had it on my machine somehow deleted it but now having trouble putting it back, guess I will settle for bitnami for now. Thank you.
1 Like
I was having the same issues. I fixed it by setting up a virtual environment, set the virtual environment to use python 2.7, and ran make requirements. Then ran the rest of the setup steps.
nedbat
(Ned Batchelder)
Split this topic
February 9, 2021, 6:08pm
11
4 posts were split to a new topic: Installation problem with Hawthorn