<分区>
AWS Lambda“python2.7”找不到我的模块处理程序。
START RequestId: c6f97261-ba61-11e7-aeaf-bfb6aa28f7bb Version: $LATEST
Unable to import module 'handler': No module named handler
END RequestId: c6f97261-ba61-11e7-aeaf-bfb6aa28f7bb
REPORT RequestId: c6f97261-ba61-11e7-aeaf-bfb6aa28f7bb Duration: 0.33 ms Billed Duration: 100 ms Memory Size: 1024 MB Max Memory Used: 19 M
处理程序.py
def handler(event, context):
return {'status': 'success'}
文件夹结构:
- 处理程序.py
在 Windows 10 上编写,使用无服务器部署在 Ubuntu VM 上,来自与主机系统的共享文件夹。 (虚拟盒子)