Share via

Module Not Found error , AzureFunction doesn't seem to have modules from requirements.txt

N K B 0 Reputation points
2023-04-06T22:57:19.0633333+00:00

It appears that the Flask module specified in my requirements.txt isn't being downloaded .

Azure Functions
Azure Functions

An Azure service that provides an event-driven serverless compute platform.


1 answer

Sort by: Most helpful
  1. SnehaAgrawal-MSFT 22,721 Reputation points Moderator
    2023-04-11T07:01:46.55+00:00

    @N K B Thanks for reaching here! If understood right you have deployed Python function app and facing module-related errors. These errors typically result in the following Azure Functions error message:

    "Exception: ModuleNotFoundError: No module named 'module_name'."

    This error occurs when a Python function app fails to load a Python module. The root cause for this error is one of the following issues:

    Please let us know if further query or issue remains.

    Was this answer helpful?

    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.