Homebrew keeps suggesting reinstalling awscli

Viewed 15

I am trying to run an awscli command. The following prints in the console:

Installing awscli

Warning: awscli 2.7.31 is already installed and up-to-date.

To reinstall 2.7.31, run:

  brew reinstall awscli

/opt/mydir//get-aws-creds: /Users/jean-bg/Library/Python/2.7/bin/aws: /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: bad interpreter: No such file or directory

So I run the reinstall command. The install completes successfully. I try to run the awscli command again and the same thing happens. This started when I tried to run the awscli command earlier today and homebrew did an automatic update. I am on macOS Monterey version 12.5.1. Any tips?

0 Answers
Related