1

I am new to AWS and cannot make sense of this error. I am using Django 2.1, python 3.6 and aws elasticbean stalk. I am not sure what other information I can provide to help but will add any info if needed.

[:error] [pid 28878]  django.setup(set_prefix=False)
[:error]   File "/opt/python/run/venv/local/lib/python3.6/site-packages/django/__init__.py", line 24, in setup
[:error]  apps.populate(settings.INSTALLED_APPS)
[:error] File "/opt/python/run/venv/local/lib/python3.6/site-packages/django/apps/registry.py", line 81, in populate
[:error] raise RuntimeError("populate() isn't reentrant")
[:error] RuntimeError: populate() isn't reentrant
[:error] mod_wsgi (pid=28878): Target WSGI script '/opt/python/current/app/weddingProject/wsgi.py' cannot be loaded as Python module.
[:error] mod_wsgi (pid=28878): Exception occurred processing WSGI script '/opt/python/current/app/weddingProject/wsgi.py'.
[:error] Traceback (most recent call last):
[:error] File "/opt/python/current/app/weddingProject/wsgi.py", line 16, in <module>
[:error]  application = get_wsgi_application()
[:error] File "/opt/python/run/venv/local/lib/python3.6/site-packages/django/core/wsgi.py", line 12, in get_wsgi_application

I have tried searching for similar errors but no luck.

dcarlo56ave
  • 253
  • 5
  • 18

0 Answers0