[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.