Unable to import module 'main': No module named 'sklearn.__check_build._check_build'
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
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.