BhuriStray
BhuriStray

Reputation: 97

Python projects are not supported on Windows Function App. Deploy to a Linux Function App

I followed the basic workflow to create a Python project and create a function from Http template. But this error is shown

enter image description here

I don't know why this message is shown. I have deploy many apps in azure function in couples of days. But this time I have to face this error. Please help me out.

Upvotes: 1

Views: 2601

Answers (1)

suziki
suziki

Reputation: 14088

From the description in the screenshot you give, it seems you are trying to deploy python azure function to windows OS.

This is impossible.

Even you use some methods to upload your python function app to Windows OS function app on Azure, you function app will be unable to run because there is no environment.

The right way is to first create a function app based on Linux OS on Azure, then deploy your local function app to the function app on azure.

Upvotes: 1

Related Questions