1 Resposta
- Mais recentes
- Mais votos
- Mais comentários
0
Hi, could you verify your boto installation version within your installed Python? It is probably related to an old version of boto hence does not support Query. If there are mulitple versions of boto installation, you can also check and update your PYTHONPATH to point to the right version. Thanks.
respondido há 2 anos
The print function shows Botocore: 1.23.32 and Boto3: 1.20.32. How should I find the right python path for the appropriate botocore ? Interactive container? Thanks.
Conteúdo relevante
- AWS OFICIALAtualizada há 7 meses
Just to clarify, did you already check at the point of use (e.g.
print(botocore.__version__)
)? According to the boto3 and botocore changelogs, this feature should be supported... So my guess is your upgraded boto3 installation is being shadowed by the runtime default boto3==1.20.32. In SAM, are you upgrading your function's boto3 viarequirements.txt
? are you building with--use-container
?@Alex_T, It seems that you are right about the default runtime, the print function shows: Botocore: 1.23.32 and Boto3: 1.20.32. Do you know how I can change priority or default runtime for AWS SDK ? Thanks. Btw, I'm using Poetry for dependency management and sam build --use-container as building command.