15.05.2021 · Unable to import module 'wsgi_handler': No module named 'werkzeug._compat' I have installed serverless-python-requirements and serverless-wsgi. The folders are present in the zip folder that was uploaded to AWS. I found the reference to werkzeug._compat in serverless_wsgi.py:
The handler field must not be prefixed by the folder name (already known through module ) as the root of the zip artifact is already the path to your function.
20.02.2020 · Unable to import module 'wsgi_handler': No module named 'werkzeug' It seems that the zip folder containing the app does not contain the right packages as specified in my requirements.txt and there is no .requirements folder either.