Thank you! Few videos mentioned the importance of the folder path. You cannot simply put all dependencies in a zip. They need to follow the patterns in 4:31.
For anyone having trouble with packages like paramiko, use EC2 in AWS, basically you just create a free instance with Linux, then quick connect in AWS and you have a terminal, then you follow a similar process. Just use AI to find out what that is but it's pretty basic. This will hopefully save you a couple hours going in circles.
If it dont work for someone even trying this for me to work, I used the exact folder structured showed in 3:20. putting the python3.x(python3.11 in my case)
Very helpful video! Does anythhing need to be done to "shut down" the virtual environment or is simply deleting the directories and zip file enough when finished?
In my case I got an error: "Unable to import module 'lambda_function': /opt/python/lib/python3.12/site-packages/bcrypt/_bcrypt.abi3.so: invalid ELF header", I tried to use bcrypt
Thank you! Few videos mentioned the importance of the folder path. You cannot simply put all dependencies in a zip. They need to follow the patterns in 4:31.
If i had only found this video 10 hours ago. This simple explanation helped a ton, thank you
Amazing, tried to find an easy way to add the dependencies to my function and came to this, really clear and easy to follow tutorial, thanks a lot
For anyone having trouble with packages like paramiko, use EC2 in AWS, basically you just create a free instance with Linux, then quick connect in AWS and you have a terminal, then you follow a similar process. Just use AI to find out what that is but it's pretty basic. This will hopefully save you a couple hours going in circles.
Thank you for saving my day!!!
If it dont work for someone even trying this
for me to work, I used the exact folder structured showed in 3:20. putting the python3.x(python3.11 in my case)
I finally managed to get requests up and running because of this, the AWS docs aren’t clear, and other videos didn’t really explain it clearly. 😊
Very helpful video! Does anythhing need to be done to "shut down" the virtual environment or is simply deleting the directories and zip file enough when finished?
There is a very very large difference between Python 3.1 (three point one) and Python 3.10 (Three point ten)
Thanks bro
doesn't work for non python dependencies.
In my case I got an error:
"Unable to import module 'lambda_function': /opt/python/lib/python3.12/site-packages/bcrypt/_bcrypt.abi3.so: invalid ELF header",
I tried to use bcrypt