Azure Function: ruamel.yaml not found

Parvinder Grewal 0 Reputation points
2023-01-25T01:58:07.83+00:00

My Azure function written in Python is not able to recognize the ruamel.yaml ([https://pypi.org/project/ruamel.yaml/) package. It is listed in my requirements.txt file.

Log Snippet:

Result: Failure Exception: ModuleNotFoundError: No module named 'ruamel'. Please check the requirements.txt file for the missing module. For more info, please refer the troubleshooting guide: https://aka.ms/functions-modulenotfound Stack: File "/azure-functions-host/workers/python/3.10/LINUX/X64/azure_functions_worker/dispatcher.py", line 365, in _handle__function_load_request func = loader.load_function( File "/azure-functions-host/workers/python/3.10/LINUX/X64/azure_functions_worker/utils/wrappers.py", line 48, in call raise extend_exception_message(e, message) File "/azure-functions

I am not sure how to work around this error or how to make it locate the package for use.

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