ModuleNotFoundError Exception in Azure Function App using UI Portal

Shubham Tomar 1 Reputation point
2022-09-20T13:28:11.81+00:00

I am using Azure Function and i have created a Function(Blob Storage Trigger) and write a code to save the output response on Blob Storage itself. But, I am facing ModuleNotFoundError Exception even I have already uploaded the requirements.txt file on the Azure's Function App Portal. I have also tried to resolve the error by Restarting and Disabling/Enabling the functions app, but still facing the same issue. I think it is not taking or using the requirements.txt file to install the packages. I am using those libraries in __init__.py file which are mentioned in requirements.txt file. In this __init__.py file, I am sending the uploaded data as input when calling an API and then saving the response of the API on blob storage in a CSV file.

242977-untitled.png

Exception/Error:-

242978-untitled.png

Please help me to resolve this issue.

Thanks and Regards

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,321 questions
Azure Storage Explorer
Azure Storage Explorer
An Azure tool that is used to manage cloud storage resources on Windows, macOS, and Linux.
232 questions
Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
2,722 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,449 questions
{count} votes