Looks like the answer is to not use Github Actions and do a remote deploy. Every time I use github actions there's a package issue, but I don't have the same error when doing a remote deploy from my local machine.
Pyodbc package is not installing during function app deployment
Jordan
25
Reputation points
I am using a function app with pyodbc which consistently fails for Failed to import src.services.oauth_service: No module named 'pyodbc'.
Some fixes I've attempted in order:
- Python Version Downgrade
- ODBC Driver Installation
- Added pymssql>=2.2.0 as alternative
- Loading services independently
I've also tried to deploy via github CICD and remote build and both are failing as well.
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,909 questions