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

Incompatibility with AWS Lambda #328

Open
neevista opened this issue Jan 20, 2024 · 0 comments
Open

Incompatibility with AWS Lambda #328

neevista opened this issue Jan 20, 2024 · 0 comments

Comments

@neevista
Copy link

Hi,

I'm trying to use quantstats library to generate stats and then passing the same to the front-end to generate visualisations. The backend API for generating stats is deployed in AWS lambda.

Although everything runs fine locally, after deploying to AWS lambda, I've realised that quantstats require IPython to work (required for generating visualisations which I'm not using).

[ERROR] Runtime.ImportModuleError: Unable to import module 'app.lambda_handlers': No module named 'IPython'

Whilst installing ipython in Lambda, I'm running into package size issues.

Is there a way I could still use quantstats just for generating stats in AWS lambda?

Thanks in advance!

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