mirror of https://github.com/ArduPilot/ardupilot
github: macosx: remove github-installed Python symlinks in /usr/local/bin
installing packages fails as symlinks that brew wants to install already exist https://github.com/orgs/Homebrew/discussions/3895
This commit is contained in:
parent
d8f95208ad
commit
5a429a9a79
|
@ -96,8 +96,14 @@ function maybe_prompt_user() {
|
|||
fi
|
||||
}
|
||||
|
||||
# delete links installed by github in /usr/local/bin; installing or
|
||||
# upgrading python via brew fails if these links are in place. brew
|
||||
# auto-updates things when you install other packages which depend on
|
||||
# more recent versions.
|
||||
# see https://github.com/orgs/Homebrew/discussions/3895
|
||||
find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete
|
||||
|
||||
brew update
|
||||
brew install --overwrite python@3.10
|
||||
brew install gawk curl coreutils wget
|
||||
|
||||
PIP=pip
|
||||
|
|
Loading…
Reference in New Issue