7

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.

David Hawkins
  • 1,049
  • 1
  • 10
  • 30

1 Answers1

4

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

Montel Edwards
  • 400
  • 5
  • 14