ml_at_awslambda_pydatabln2018 icon indicating copy to clipboard operation
ml_at_awslambda_pydatabln2018 copied to clipboard

Unable to import module 'main': No module named 'sklearn.__check_build._check_build'

Open LorenzoInvernizzi opened this issue 7 years ago • 1 comments

Hi Benjamin,

Thank you for your really clear and instructive talk.

I just have an issue: i followed step by step your instructions but at the end when i call the lambda and i get: {"message": "Internal server error"} I tried to do a test using aws and i get the following more specific error: Unable to import module 'main': No module named 'sklearn.__check_build._check_build'

Any suggestion on how to handle the issue, please?

Thanks

LorenzoInvernizzi avatar Sep 17 '18 20:09 LorenzoInvernizzi

It looks like an issue in the dependencies. Might be there is something wrong during deployment. Which versions of serverless and serverless-python-requirements are you using? That would be my best bet.

You can review, what is being deployed in the .serverless-Folder. There should be a zip-File, which contains all the code including dependencies.

bweigel avatar Apr 09 '19 09:04 bweigel