Easy method : Dowload the Python.Zip file from the link and upload in lambda function and enjoy the AWS Lambda Service seamless. Download Link
(Optional) Links to find pnadas libarary for another operating system and python version. https://pypi.org/project/pandas/#files
(Optional) To find library file for others version. https://pypi.org/project/pytz/#files
pip install wheel
[notice] A new release of pip is available: 23.0.1 -> 23.1.2
[notice] To update, run: python.exe -m pip install --upgrade pip
python.exe -m pip install --upgrade pip
wheel unpack .\pandas-2.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
wheel unpack .\pytz-2023.3-py2.py3-none-any.whl
wheel unpack .\numpy-1.24.3-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
It will create folder with specific library name.
copy the files from the specific library folder and paste into pythohn folder.
- 1.Click on Layers
- 2.Now Create a new layer.
- 3.Give the name of layer and specify the Compatiable runtime and architecture and choose pton zip file to upload file which is zipped earlier.