Did not find function with language [Python] -- for running durable functions locally

Botez, Alexandru 0 Reputation points
2023-09-05T10:59:02.5133333+00:00

I was trialling out durable functions for my long running function by following the Microsoft documentation on building my own durable function.

https://learn.microsoft.com/en-us/azure/azure-functions/durable/quickstart-python-vscode?tabs=windows%2Cazure-cli-set-indexing-flag&pivots=python-mode-configuration

I have to state I am using PyCharm and no visual studio however. I am running a docker container for Azurite.

After creating these durable functions as stated in the tutorial, I wanted to run it locally. However I am getting this error:User's image

The functions json files are unchanged.

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

1 answer

Sort by: Most helpful
  1. MuthuKumaranMurugaachari-MSFT 22,446 Reputation points Moderator
    2023-09-06T15:56:06.36+00:00

    Botez, Alexandru Thanks for posting your question in Microsoft Q&A. Visual Studio is the recommended IDE for debugging, publishing Azure Functions and discussion: Support for PyCharm was opened specifically for this to add PyCharm support in future. However, you should be run and stop the functions through the command line. You might face this issue if running on ARM64 devices (not supported) and in that case, check x86 emulation on ARM64 as a workaround to run in emulated x86 environment.

    If it doesn't help, please share the runtime version, python, host.json, local.settings.json, full exception info (if any other errors before this screenshot) etc. That would help in understanding better.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.