Open ericHgorski opened 3 years ago
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
The solution posted by @silvanojulio-haul worked for me
Had the same issue, had to remove /opt/homebrew/Library/Taps/homebrew/homebrew-core
folder and it solved the issue. Thanks!
Worked for me as well
i run brew doctor
and fix the warning with the commands that show up.
After the sam-cli installation works.
Thank you @silvanojulio-haul your solution worked for me
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.
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"
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: