Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

567
Visualizações
Python: How to properly set up boto3 and connect to AWS S3?

I walked through the following:

http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html https://boto3.readthedocs.io/en/latest/guide/quickstart.html#installation

And came up with the file (pract.py) using an IDE:

import boto3

# Let's use Amazon S3
s3 = boto3.resource('s3')

for bucket in s3.buckets.all():
    print(bucket.name)

And ran it but came across the following error even though I installed the boto3:

ImportError: No module named boto3

How can I confirm everything has been installed and configured correctly? What could be the issue?

Thank you in advance and will be sure to accept/upvote answer

WHEN I DO pip install boto3

enter image description here

about 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

Did you install via pip? Run the command

pip list

See if the list that is output contains boto3, otherwise, you can follow these instructions:

How to manually install a pypi module without pip/easy_install?

to install boto3 from the zip file downloaded from this link:

https://github.com/boto/boto3

about 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda