Skip to content

Commit 52f6f02

Browse files
committed
fix: symlink python3 path
1 parent ae255d3 commit 52f6f02

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scripts/brew-install.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ brew link --overwrite node@20
1515
brew install [email protected]
1616
brew link --overwrite [email protected]
1717

18-
echo "/opt/homebrew/opt/[email protected]/bin" >> "$GITHUB_PATH"
18+
PYTHON3_PATH=$(brew --prefix [email protected])/bin/python3
19+
ln -sf "$PYTHON3_PATH" /opt/homebrew/bin/python3
20+
21+
export PYTHON="$PYTHON3_PATH"
1922

2023
echo "Python version: $(python3 --version)"

0 commit comments

Comments
 (0)