66818/no-module-named-requests-on-the-aws-python-lambda-function
Hi Guys,
I am trying to create one lambda function and also try to read one url inside that lambda function. For that I am using request function, but I am getting this below error.
Unable to import module 'lambda_function': No module named requests
Hi@akhtar,
According to my knowledge requests is not a standard library in AWS lambda. So to use this library you can Import it from the Botocore libraries.
from botocore.vendored import requests
I solved the problem. I'm using pipenv ...READ MORE
I would suggest using the Cost Explorer ...READ MORE
How to get the name of the ...READ MORE
For some reason, the pip install of ...READ MORE
Check if the FTP ports are enabled ...READ MORE
To connect to EC2 instance using Filezilla, ...READ MORE
I had a similar problem with trying ...READ MORE
You can try out the following steps Post ...READ MORE
Hi@pradip, I think you need to import some ...READ MORE
Hi@shalk, You can create a session in your ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.