requirements.txt doesn't work in Azure Function- ModuleNotFoundError

Marc Zürn 0 Reputation points
2023-03-10T02:22:32.14+00:00

Hello,

I try to run a python script in an azure function. Thereby I have to import mysql connector. Somehow I always get the error message, that the module could not be loaded. And I can't find a solution... Appended are the imports, the requirements.txt file and the error code.

Thank you for helping!

Screenshot 2023-03-09 at 6.19.57 PM

Screenshot 2023-03-09 at 6.19.44 PM

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,473 questions
{count} votes