2 Antworten
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
0
Hi,
Some other folks are having similar problem when running Lambdas on ARM: https://github.com/pydantic/pydantic/issues/6557
It seems that the solution is to use Lambda runtime 3.10 or above.
Can you try that?
Best,
Didier
0
Hi,
In lambda, it's not possible to import modules from https://pypi.org. It supports only boto3 and all default modules under python package, none other. To sort this out, I would suggest to install modules in present non-default directory in your local system by using below command, so that you will see the modules are installed in your present directory. Post that you can zip module files with your code together, then upload it to lambda.
Command: pip install <module-name> -t . --no-user
beantwortet vor einem Jahr
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor 3 Monaten
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor 4 Jahren