[Python] Running Python Azure function locally. Microsoft.Azure.WebJobs.Script: WorkerConfig...

Discussão em 'Python' iniciado por Stack, Dezembro 8, 2024.

  1. Stack

    Stack Membro Participativo

    Attempting to run a python azure function locally but getting a "Microsoft.Azure.WebJobs.Script: WorkerConfig for runtime: python not found."

    This is despite having a venv with python installed and it being installed on local machine. VS Code is being run as admin as well.

    Output from terminal when trying to run

    Full error here:

    [2024-09-05T15:23:14.773Z] A host error has occurred during startup operation 'dac4260d-fa20-49b8-a225-97dc6b2aceab'.
    [2024-09-05T15:23:14.777Z] Microsoft.Azure.WebJobs.Script: WorkerConfig for runtime: python not found.
    [2024-09-05T15:23:14.790Z] Failed to stop host instance '4975e599-c38c-4003-a5ab-30f8005eef48'.
    [2024-09-05T15:23:14.793Z] Microsoft.Azure.WebJobs.Host: The host has not yet started.
    Value cannot be null. (Parameter 'provider')


    Have attempted to run the function and see an output with the endpoint and local host. Instead getting above errors

    Continue reading...

Compartilhe esta Página