Skip to content

Instantly share code, notes, and snippets.

@relwell
Created December 30, 2019 23:26
Show Gist options
  • Save relwell/31aa99a6719a00b5a8bc3af1b57d6795 to your computer and use it in GitHub Desktop.
Save relwell/31aa99a6719a00b5a8bc3af1b57d6795 to your computer and use it in GitHub Desktop.
Zappa (and AWS Lambda) support the following versions of Python: ['2.7', '3.6']
Traceback (most recent call last):
File "/var/lang/lib/python3.7/imp.py", line 234, in load_module
return load_source(name, filename, file)
File "/var/lang/lib/python3.7/imp.py", line 171, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 696, in _load
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/var/task/handler.py", line 22, in <module>
from zappa.middleware import ZappaWSGIMiddleware
File "/var/task/zappa/__init__.py", line 12, in <module>
raise RuntimeError(err_msg)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment