alex_bn_lee

导航

[976] How to install a Python Dependency on AWS Lambda

ref: How to install a Python Dependency on AWS Lambda (2023)


Create a folder to save the Python depenency and right click the folder to open the terminal

Install the packages with the below format, then all dependencies will be saved in this folder.

pip install <package_name> -t .

Finally, the lambda_function.py should also be created in the same folder, then zip them. Upload the zip file like below.

posted on 2024-02-21 06:53  McDelfino  阅读(2)  评论(0编辑  收藏  举报