aws-shell
aws-shell copied to clipboard
aws-shell is not working in Amazon Linux 2 after installing
Hi, Im getting the following error after installing aws-shell in my EC2 Amazon Linux 2:
[ec2-user@tmp]$ aws-shell
First run, creating autocomplete index...
Traceback (most recent call last):
File "/home/ec2-user/.local/bin/aws-shell", line 8, in
Are you able to help ?
Same here I also tried it by installing it using pip install aws-shell and got the same error message
Actually not sure what exactly fixed it, however i have done the following on the ec2 instance: pip3 install awscli pip3 install awsshell
Then ran aws-shell and worked fine.
So maybe it needs to run with python3 now, but I am not sure :)