I've included all the required libraries in the requirements.txt file, and the deployment was successful. However, the website is not loading. When I check the application logs, it shows that a module was not found.

Jaswanth 0 Reputation points
2024-05-30T13:37:35.0233333+00:00

I've included all the required libraries in the requirements.txt file, and the deployment was successful. However, the website is not loading. When I check the application logs, it shows ModuleNotFoundError: No module named 'requests'. I verified in the GitHub build logs that the requests library was installed. I've attached images of the error for reference.azure1

azure2

azure3

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,901 questions
Azure Startups
Azure Startups
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Startups: Companies that are in their initial stages of business and typically developing a business model and seeking financing.
382 questions
{count} votes

Your answer

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