How to Create a Python Dependency / Pandas Layer for AWS Lambda | AWS Cloud9 | AWS Lambda | Python

Publicado el: 23 septiembre 2021
en el canal de: CivilTEKK
2,282
41

Note to Viewers: Subscribing is free! You won't be charged anything! If you like the video please like and subscribe! Do leave some comments below if you have any ideas that you want to be realized!

Links used in the video:
Installing Python3.9: https://linuxize.com/post/how-to-inst...

You can message me at:
LinkedIn:   / khiong-kiat  
Personal blog: www.civiltekk.com

text code in notepad
-----------------------
mkdir folder
cd folder
python3.9 -m venv myvenv
source myvenv/bin/activate
pip install pandas
deactivate
mkdir python
cd python
cp -r ../myvenv/lib/python3.9/site-packages/* .
cd ..
sudo apt-get install zip (if you dont have zip)
zip -r panda_layer.zip python

aws lambda publish-layer-version --layer-name pandas-tutorial --zip-file fileb://panda_layer.zip --compatible-runtimes python3.8 python3.9

_____________
if u cant find "activate" inside source myvenv/bin/activate, then proceed to install "apt-get install python3.9-dev python3.9-venv"


En esta página del sitio puede ver el video en línea How to Create a Python Dependency / Pandas Layer for AWS Lambda | AWS Cloud9 | AWS Lambda | Python de Duración hora minuto segunda en buena calidad , que subió el usuario CivilTEKK 23 septiembre 2021, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 2,282 veces y le gustó 41 a los espectadores. Disfruta viendo!