我是AWS的新手,无法理解此错误。我正在使用Django 2.1,python 3.6和AWS Elasticbean Stalk。我不确定我还能提供什么其他信息,但是会在需要时添加任何信息。
[: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
我尝试搜索类似的错误,但是没有运气。