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

aws-sam-cli installation fails on macOS 11.3.1 because of missing python@3.8 #207

Open
ericHgorski opened this issue Jun 10, 2021 · 8 comments

Comments

@ericHgorski
Copy link

Im trying to get up and running with aws-sam-cli with homebrew. I've tried various proposed fixes here and elsewhere on the web but havent been able to make it past the following error:

==> Searching for similarly named formulae...
Error: No similarly named formulae found.
Error: No available formula with the name "python@3.8" (dependency of aws/tap/aws-sam-cli).
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.```

My brew version is `Homebrew 3.1.11-45-g33e71c9`.
@ghost
Copy link

ghost commented Jul 13, 2021

Im trying to get up and running with aws-sam-cli with homebrew. I've tried various proposed fixes here and elsewhere on the web but havent been able to make it past the following error:

==> Searching for similarly named formulae...
Error: No similarly named formulae found.
Error: No available formula with the name "python@3.8" (dependency of aws/tap/aws-sam-cli).
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.```

My brew version is `Homebrew 3.1.11-45-g33e71c9`.

I run these commands, and then the ones to install aws.sam-cli,
I got several erros but by executing the same solutions it suggest, at the end, it worked

rm -rf /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core;
brew update

@zaichang
Copy link

The solution posted by @silvanojulio-haul worked for me

@dudutwizer
Copy link

Had the same issue, had to remove /opt/homebrew/Library/Taps/homebrew/homebrew-core folder and it solved the issue. Thanks!

@IgorLumigo
Copy link

Worked for me as well

@brigandimedacta
Copy link

brigandimedacta commented Apr 1, 2022

i run brew doctor and fix the warning with the commands that show up.
After the sam-cli installation works.

@jamesiweobi
Copy link

Thank you @silvanojulio-haul your solution worked for me

@lokeshjain2008
Copy link

Thanks , @brigandimedacta brew doctor solved the issue for me.
Below is the output of the it.

Warning: Homebrew/homebrew-core was not tapped properly! Run:
  rm -rf "/opt/homebrew/Library/Taps/homebrew/homebrew-core"
  brew tap homebrew/core

running both commands solved issue for me.

@sadidul012
Copy link

I had to add the below 3 lines into ~/.zshrc after installing python3.8 with brew install --build-from-source python@3.8 on my MacBook M1 2020 -

export LDFLAGS="-L/opt/homebrew/opt/python@3.8/lib"
export PKG_CONFIG_PATH="/opt/homebrew/opt/python@3.8/lib/pkgconfig"
export PATH="/opt/homebrew/opt/python@3.8/bin:$PATH"

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

No branches or pull requests

8 participants