Reputation: 1067
I'm using a Linux consumption
plan.
I get the following error;
Exception: ModuleNotFoundError: No module named 'pyodbc'
I have added pyodbc
in the requirements.txt
file and other modules in this file such as azure-storage are working fine.
Has anyone seen this issue or can confirm this is a known bug? I can't see any way to manually install this.
Upvotes: 7
Views: 2445
Reputation: 400
I believe this a bug with the Python worker. I have opened an issue with the team as I am having this issue also. https://github.com/Azure/azure-functions-python-worker/issues/249
Upvotes: 4