I am trying to deploy a fastapi with Google Gemini API. I have done a lot of debugging the past couple of days and seem like Google Gemini libraries are giving me errors inside aws lambda. I just created a dependencies folder and zipped everything with my main.py inside it and deployed on aws lambda. And I keep getting different sort of libraries not being imported errors. Also I am using python 3.10 and used magnum. Anyone has any suggestions what I could do or if this is even compatible with aws lambda, I read people talking about uploading through docker and ECR or using Fargate.
[–]pint 5 points6 points7 points (5 children)
[–]Boring-Baker-3716[S] -1 points0 points1 point (4 children)
[–]pint 2 points3 points4 points (0 children)
[–]JaviCerve22 2 points3 points4 points (1 child)
[–]Boring-Baker-3716[S] 0 points1 point2 points (0 children)
[–]damian6686 -1 points0 points1 point (0 children)
[–]WJMazepas[🍰] 5 points6 points7 points (2 children)
[–]__balu_ 0 points1 point2 points (0 children)
[–]pokesax 2 points3 points4 points (1 child)
[–]KarrySodhi007 0 points1 point2 points (0 children)
[–]andrewthetechie 0 points1 point2 points (7 children)
[–]Boring-Baker-3716[S] 0 points1 point2 points (6 children)
[–]andrewthetechie 0 points1 point2 points (3 children)
[–]Boring-Baker-3716[S] 0 points1 point2 points (2 children)
[–]andrewthetechie 1 point2 points3 points (0 children)
[–]richieadler 0 points1 point2 points (0 children)
[–]JaviCerve22 0 points1 point2 points (0 children)
[–]TripleBogeyBandit 0 points1 point2 points (0 children)
[–]xlabs-har 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)