neo-ai / neo-ai-dlr

Neo-AI-DLR is a common runtime for machine learning models compiled by AWS SageMaker Neo, TVM, or TreeLite.
Apache License 2.0
491 stars 107 forks source link

Failed to initialize Lambda runtime due to exception: No module named 'dlr' #373

Open kro529 opened 2 years ago

kro529 commented 2 years ago

I have downloaded dlr through pip install and checked that it has been downloaded to the path /.local/lib/python3.7/site-packages/ but it seems like it still wont work.

I initially had DLR also downloaded in Python3.8 but deleted this since it seemed like the lambda function would only run if the necessary libraries were within /.local/lib/python3.7/site-packages/. But when it came to dlr, it was trying to parse through the DLR module downloaded in the location /usr/local/lib/python3.8/dist-packages/dlr.

After deleting the dlr folder within python3.8 I still keep on getting that there is no DLR module within Python3.7.

zeesee commented 2 years ago

good day @kro529, did you manage to find a solution? Any suggestions or advice would be greatly appreciated. I been trying to solve this problem as well, but to no avail. Cheers!