我正在尝试在Microsoft Azure中测试无服务器的Python Chatbot API,但是当我遵循在线指南https://towardsdatascience.com/creating-a-serverless-python-chatbot-api-in-microsoft-azure-from-scratch-in-9-easy-steps-2f1913fc9581
它给出以下错误:无法导入“ azure.functions” pylint(导入错误)[3,1]无法导入'__app__modules.library_finder'pylint(导入错误)[4,1]
知道如何解决这个问题?
关于玉岛
此错误来自pylint。看来linter没有指向.env,因此无法验证Azure软件包!要解决它,您可以尝试以下方法:
在Visual Studio代码中:
希望这会有所帮助