RomelTorres / alpha_vantage

A python wrapper for Alpha Vantage API for financial data.
MIT License
4.3k stars 741 forks source link

Numpy ImportModuleError when deploying to AWS Lambda via zappa serverless #335

Closed ryanlampkin closed 1 year ago

ryanlampkin commented 2 years ago

I receive an ImportModuleError when deploying a package to AWS Lambda using alpha_vantage as a dependency. I do not know why, but I'm certain it relates to alpha_vantage. I've left more detail on this stackOverflow post.

I have no problems running the alpha_vantage code locally and the issue may ultimately revolve around the way zappa pre-packages the zip file for deployment onto AWS. Nevertheless, I don't seem to have this problem with any other dependency, including pandas itself.

AlphaVantageSupport commented 1 year ago

Closing for now. Will reopen if there is further community response. Thanks!