Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in AWS by (790 points)
how to import numpy and pandas inside aws lambda function?

1 Answer

0 votes
by (1.4k points)
edited by

AWS Lambda uses custom linux and sometimes it may be not possible to import numpy and pandas easily. You can try these  steps:

  • Compile dependencies on EC2 instances which use the same Amazon Linux version as AWS Lambda and create a deployment package
  • You can also use pre-defined packages from Github

Hope this works!

Do you need help mastering AWS Lambda and other AWS skills? Go through AWS Certification Course and become an AWS expert!

Related questions

Want to get 50% Hike on your Salary?

Learn how we helped 50,000+ professionals like you !

0 votes
1 answer
asked Oct 5, 2019 in Data Science by sourav (17.6k points)
0 votes
1 answer
0 votes
1 answer

Browse Categories

...