Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

717
Vistas
AWS CLI -'Aws-shell' namespace object has no attribute: cli_binary_format

When I attempt to use aws-shell to check my s3 bucket list I get this error: enter image description here

my environment is [cloudshell-user@ip-10-0-***~]$ aws --version

aws-cli/2.2.43 Python/3.8.8 Linux/4.14.252-195.483.amzn2.x86_64 exec-env/CloudShell exe/x86_64.amzn.2 prompt/off

Is anything wrong with any of my Envir. verions? Pls advice

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

See below for recommended approach -or- keep reading for a fix for aws-shell.

aws-shell requires awscli version 1 to function correctly, otherwise you'll receive the cli_binary_format error. To work around this you can do the following in the cloudshell environment.

  1. Install awscli version 1 and aws-shell:

pip3 install --user -U awscli aws-shell boto3 --use-feature=2020-resolver --no-cache-dir

  1. Update your PATH to cause the awscli version 1 to be the default:

export PATH=/home/cloudshell-user/.local/bin/:$PATH

However, the better solution would be to use awscli version 2 and enable the auto prompt feature as described here https://github.com/aws/aws-cli/issues/5664

aws configure set cli_auto_prompt on

or

export AWS_CLI_AUTO_PROMPT=on

Then awscli version 2 will behave similarly to aws-shell, providing completion hints etc.

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda