ModuleNotFound Error

0 votes

I tried to deploy my code in AWS. But I am getting “ModuleNotFound Error”. In my local machine, it works fine.

How can I solve this error?

Thank You

Apr 2, 2020 in AWS by akhtar
• 38,260 points
570 views

1 answer to this question.

0 votes

Hi@akhtar,

There are two possible reasons for the error occurred on AWS server.

  1. You have not installed all the required packages on server. The ideal way to deal with dependencies is to create a requirements.txt file create from the code running on local server.

  2. In case you do have created virtual environment then the same path should be configured as python path in web server settings.

Hope this will help.

Thank You

answered Apr 2, 2020 by MD
• 95,460 points

Related Questions In AWS

0 votes
1 answer

Getting Error 503 when I using my site via DNS

add the server_name directive to your Nginx ...READ MORE

answered Apr 25, 2018 in AWS by Cloud gunner
• 4,670 points
1,913 views
0 votes
1 answer
0 votes
1 answer

AWS Cloudtrail API for Go SDK showing an error mesage.

You  must add S3 Policy in your ...READ MORE

answered Jun 27, 2018 in AWS by Flying geek
• 3,280 points
1,318 views
0 votes
1 answer
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP