Hello, I’ve got OpenEdx devstack running on gcp’s vm and followed all the instruction here. It installs perfectly. But when I tried to start the devstack using
make dev.up
it’s says all done, but when I checked the lms logs using
make logs lms
I’ve got
edx.devstack.lms | Traceback (most recent call last):
edx.devstack.lms | File "/edx/app/edxapp/edx-platform/manage.py", line 120, in <module>
edx.devstack.lms | startup.run()
edx.devstack.lms | File "/edx/app/edxapp/edx-platform/lms/startup.py", line 19, in run
edx.devstack.lms | django.setup()
edx.devstack.lms | File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/__init__.py", line 27, in setup
edx.devstack.lms | apps.populate(settings.INSTALLED_APPS)
edx.devstack.lms | File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/apps/registry.py", line 85, in populate
edx.devstack.lms | app_config = AppConfig.create(entry)
edx.devstack.lms | File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/apps/config.py", line 94, in create
edx.devstack.lms | module = import_module(entry)
edx.devstack.lms | File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
edx.devstack.lms | __import__(name)
edx.devstack.lms | ImportError: No module named django_openid_auth
edx.devstack.studio | Traceback (most recent call last):
edx.devstack.studio | File "/edx/app/edxapp/edx-platform/manage.py", line 120, in <module>
edx.devstack.studio | startup.run()
edx.devstack.studio | File "/edx/app/edxapp/edx-platform/cms/startup.py", line 19, in run
edx.devstack.studio | django.setup()
edx.devstack.studio | File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/__init__.py", line 27, in setup
edx.devstack.studio | apps.populate(settings.INSTALLED_APPS)
edx.devstack.studio | File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/apps/registry.py", line 85, in populate
edx.devstack.studio | app_config = AppConfig.create(entry)
edx.devstack.studio | File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/apps/config.py", line 94, in create
edx.devstack.studio | module = import_module(entry)
edx.devstack.studio | File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
edx.devstack.studio | __import__(name)
edx.devstack.studio | ImportError: No module named django_openid_auth
I tried to install it manually using pip and tried to import it via python shell and it’s imported correctly, but still it wont be imported in to the lms. I tried to run
make requirements
and still same thing happened, restarted the container several times and still not worked. Anyone can help me? what’s the problem?
here is my pip list
Package Version
---------------------------- -----------
backports.ssl-match-hostname 3.5.0.1
cached-property 1.4.2
certifi 2018.4.16
chardet 3.0.4
Django 1.11.23
django-openid-auth 0.15
docker 3.3.0
docker-compose 1.21.2
docker-pycreds 0.2.3
dockerpty 0.4.1
docopt 0.6.2
enum34 1.1.6
functools32 3.2.3.post2
idna 2.6
ipaddress 1.0.22
jsonschema 2.6.0
pip 19.2.3
pkg-resources 0.0.0
python-openid 2.2.5
pytz 2019.2
PyYAML 3.12
requests 2.18.4
setuptools 41.2.0
six 1.11.0
texttable 0.9.1
urllib3 1.22
websocket-client 0.47.0
wheel 0.33.6