Skip to content

Commit 2553095

Browse files
committed
added arm64 support
1 parent 203923d commit 2553095

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pip_check.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ scriptname=$0
55
hw=$(uname -m)
66
if [ "$hw" = x86_64 ]; then
77
pip3=$(find "/usr/local/bin/" -iname pip3.11)
8-
else
8+
elif [ "$hw" = arm64 ]; then
99
pip3=$(find "/opt/homebrew/opt/[email protected]/bin" -iname pip3.11)
10+
else
11+
exit 1
1012
fi
1113
available_packages=$($pip3 list -o)
1214

0 commit comments

Comments
 (0)