Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Numpy with python-lambda #130

Open
marcelinhov2 opened this issue Sep 25, 2018 · 2 comments
Open

Numpy with python-lambda #130

marcelinhov2 opened this issue Sep 25, 2018 · 2 comments

Comments

@marcelinhov2
Copy link

Hi guys, first o all, thanks for your hard work.

We are trying to deploy a lambda function that requires numpy, and we don't know what to do anymore...

Can you guys help us?

Thanks :)

@soapergem
Copy link
Collaborator

soapergem commented Sep 25, 2018

I've not done much with numpy, or pandas, or any of the other data science libraries. Nor have I tried to use python-lambda on them. But what I do know is that libraries such as numpy are HUGE, and probably very ill-suited for Lambda in general.

Before even trying to tackle the problem of getting them deployed into Lambda I would ask myself, should I be deploying this to Lambda? Using Docker is probably a much better solution. Have you tried getting your code running in a Docker container and deploying that elsewhere?

@kmbenitez
Copy link

I'm also guessing that you may run into some issues with requiring libraries to be compiled against the correct architecture. I've been following the process here after doing local tests to run lambda deploy from within a docker container.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants