[Python] Pyodbc does not work on Linux based az function app

Discussão em 'Python' iniciado por Stack, Fevereiro 13, 2025.

  1. Stack

    Stack Membro Participativo

    can anyone help with this issue, I have debugged it for hours before concluding it might be an issue, I have a v2 function app running on Linux Debian, I am publishing my code via vs code but when ever I import pyodbc the function would disappear from function app on the portal, I tried different version of python and different version of py odbc for 2 days this issue won’t go away. Is there any work around?

    The function works locally when triggered via func start, and i also do have pyodbc added to my requirement.txt file, what's funny is whenever i add import pyodbc and publish, the function is not visible on the portal anymore and the deployment log is not showing any error.

    I have tried restarting the function app but still issue persist, i also confirmed via Kudu that ODBC is installed on the server the function app is running from.

    Continue reading...

Compartilhe esta Página