Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Braynid opened this issue Apr 22, 2020 · 5 comments
Open

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

Braynid opened this issue Apr 22, 2020 · 5 comments

Comments

@Braynid
Copy link

Braynid commented Apr 22, 2020

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
@lllama
Copy link

lllama commented Jul 13, 2020

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.

@chagui
Copy link

chagui commented Aug 8, 2022

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

@danktec
Copy link

danktec commented Oct 28, 2024

pipx install pygments solved it for me on Sonoma 14.6.1

@danktec
Copy link

danktec commented Oct 28, 2024

But now i have another error 'Namespace' object has no attribute 'cli_binary_format' 💀

@danktec
Copy link

danktec commented Oct 28, 2024

I'd love to spend hours/days fiddling with this to make it work because i remember it was an awesome tool, but for now i'll have to fall back on the autocomplete scripts which ship with AWS. Unfortunately! :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants