Problem loading fitz module in AWS Lambda

0

I was trying to create a lambda function using PyMuPDF i create the virtual env in my computer and install PyMuPDF adding layers according to the python version 3.9, 3.8 and 3.7 but every time that import fitz in the lambda function I got:

{
  "errorMessage": "Unable to import module 'lambda_function': No module named 'fitz'",
  "errorType": "Runtime.ImportModuleError",
  "stackTrace": []
}

What we suppose to do

1 Respuesta
0

Can you please try deploying the package using the AWS Codebuild it should work fine or just Go to CodeCommit and "create repository", then upload your project to CodeCommit.

profile pictureAWS
respondido hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas