Azure Function Python 从其他文件import 方法失败的解决办法
使用Python Azure Functions时新建了.py文件并执行了import 操作,运行时提示如下错误: Result: Failure[2021-01-25T05:16:11.553Z] Exception: ModuleNotFoundError: No module named 'helper'. Troubleshooting Guide: https://aka.ms/functions-modulenotfound Stack: File "/usr/local/Cellar/azure-functions-core-tools@3/3.0.3233/workers/python/3.8/OSX/X64/azure_functions_worker/dispatcher.py", 解决方案: 在__init__.py文件中增加: import sys …