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?
There are two possible reasons for the error occurred on AWS server.
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.
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.
add the server_name directive to your Nginx ...READ MORE
I am damn sure that it is ...READ MORE
The best way to do this is ...READ MORE
You must add S3 Policy in your ...READ MORE
Here for the above mentioned IAM user ...READ MORE
It can work if you try to put ...READ MORE
Check if the FTP ports are enabled ...READ MORE
To connect to EC2 instance using Filezilla, ...READ MORE
After checking time and aws configure settings, ...READ MORE
When you run Lambda outside your VPC ...READ MORE
Already have an account? Sign in.