Referencing AWS documentation, especially here, and StackOverflow answers like this one, I would have expected that simply including the dependencies in the uploaded .zip
file would be sufficient - but that does not seem to be the case. Despite os.listdir
showing that a module exists on a path that has been added to sys.path
, the attempted import fails to find the module.
See my minimal reproduction (including log output in the README.md
) here