Python Azure Function "Deployment Failed" with no error code provided

Joe Zirilli 1 Reputation point
2022-04-27T13:17:03.837+00:00

I am trying to deploy a Python Azure function and it always stops at the same point and I get 2 "Deployment Failed." messages.

8:34:55 AM bpanalyzeimage: /opt/Kudu/Scripts/starter.sh oryx build /tmp/zipdeploy/extracted -o /home/site/wwwroot --platform python --platform-version 3.8 -p packagedir=.python_packages/lib/site-packages
8:34:56 AM bpanalyzeimage: Deployment Failed.
8:35:02 AM bpanalyzeimage: Deployment failed.

I found this https://learn.microsoft.com/en-us/answers/questions/803446/httptrigger3app-deployment-failed-today-due-to-unk.html so I tried using different version of Python (3.7, 3.8, 3.9) but all of them get the same result.

Any idea what the issue is?

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