saws icon indicating copy to clipboard operation
saws copied to clipboard

pipsi / pipx install on osx broken: aws: command not found

Open Braynid opened this issue 4 years ago • 2 comments

I've tried installing saws using pipsi as per the docs and after seeing that pipsi is deprecated I've tried installing via pipx. Both times I've got the errors below when running any command under saws. aws and pygmentize are installed in the virtualenv created by pipsi/pipx so my guess is that the saws interactive shell somehow doesn't start in the same virtualenv.

osx version: 10.15.3 Python 2.7.16

saws> aws ec2 ls --ec2-state
/bin/sh: aws: command not found
/bin/sh: pygmentize: command not found

Braynid avatar Apr 22 '20 15:04 Braynid

I have the same issue. If you hit F2 and turn colour off then you can avoid the error. Granted I then get another but it's not a pygmentize one.

lllama avatar Jul 13 '20 15:07 lllama

Got the same error, after reading pipx docs it is expected. You can solve it by installing separately the missing dependencies or with --include-deps. Note that the later may cause conflicts, pipx will prompt a warning if it happens.

--include-deps        Include apps of dependent packages

See https://pypa.github.io/pipx/docs/#pipx-install

chagui avatar Aug 08 '22 09:08 chagui