awslabs / aws-shell

An integrated shell for working with the AWS CLI.
Apache License 2.0
7.15k stars 769 forks source link

aws: not found #265

Open aagha opened 2 years ago

aagha commented 2 years ago

Once I'm in the shell, I get the following error no matter what command I run:

/bin/sh: 1: aws: not found

image

I'm trying to run this on Ubuntu under Windows 10' WSL.

As an aside-but might be related--when trying to run aws-shell, I had to change the first line from:

#!/usr/bin/python

to:

#!/usr/bin/python3

Jakejamesreid commented 1 year ago

I get the same issue, this started happening after I installed aws cli. I am assuming there was some sort of conflict that caused the issue. This was not resolved by uninstalling aws cli. If I pip install aws shell again it fixes the issue but the issue always comes back, I think when I open a new shell. Have also tried reinstalling aws-shell. Also using WSL