Hi ,
Facing a problem while deploying django to beanstalk with python 3.4 .
Beanstalk env and instance all been setup with pipeline yml.
But according to EB cli , can't find a way to install django.
Requirement.txt included in documents but can't be imported.Because there's no django module. So the http server can't been connect.
Here's the error log description , hope this may help
[ImportError: No module named 'django'
mod_wsgi : Target WSGI script '/opt/python/current/app/ebdjango/ebdjango/wsgi.py' cannot be loaded as Python module.
mod_wsgi : Exception occurred processing WSGI script '/opt/python/current/app/ebdjango/ebdjango/wsgi.py'.
Traceback (most recent call last):
File "/opt/python/current/app/ebdjango/ebdjango/wsgi.py", line 12, in <module>
from django.core.wsgi import get_wsgi_application
ImportError: No module named 'django'
Thanks for your watching and teaching.