arief
arief

Reputation: 11

In localhost it runs fine, but when trying to be deployed to aws (eb deploy) gives out the following error:

INFO: Deploying new version to instance(s).                         
ERROR: [Instance: i-0a71c104c0eea1e7c] Command failed on instance. Return code: 1 Output: (TRUNCATED)...on/run/venv/local/lib/python2.7/site-packages/django/apps/config.py", line 94, in create
module = import_module(entry)
File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
ImportError: No module named import_export. 

Upvotes: 0

Views: 890

Answers (1)

arief
arief

Reputation: 11

as it turns out I need to add django-import-export to my requirements.txt

Upvotes: 1

Related Questions