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

Add pykrige. #72

Open
uprego opened this issue Dec 18, 2017 · 4 comments
Open

Add pykrige. #72

uprego opened this issue Dec 18, 2017 · 4 comments

Comments

@uprego
Copy link

uprego commented Dec 18, 2017

I need pykrige.

I'm going to try to apply https://streetdatasciencedotcom.wordpress.com/2016/11/24/using-numpy-and-pandas-on-aws-lambda/ (useful while #71 gets resolved) to pykrige.

@uprego
Copy link
Author

uprego commented Dec 18, 2017

Depends not only on numpy and scipy but even on matplotlib.

This is not OK, the Street Data Science recipe doesn't work for scipy because you would need to install lapack to compile it, and you could do that but finally the AWS Lambda runtime environment would tell this at execution time, and I assume there is no solution for:

Unable to import module 'lambda_function': liblapack.so.3: cannot open shared
object file: No such file or directory

Anyways I'm a long time user of your psycopg2 distribution so big thank you ❤️.

@uprego
Copy link
Author

uprego commented Dec 18, 2017

Well it seems there might be an implicit LD_LIBRARY_PATH or something:
(https://stackoverflow.com/questions/34749806/).

@uprego
Copy link
Author

uprego commented Dec 18, 2017

Yeah that did the trick and the program now at least boots, like if there is a permanent LD_LIBRARY_PATH to $AWS_LAMBDA_PKG_ROOT/lib/.

😁

@uprego
Copy link
Author

uprego commented Dec 18, 2017

All the way into production. So perfect.

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

No branches or pull requests

1 participant