We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 067be75 + 2553095 commit 6cd9cb9Copy full SHA for 6cd9cb9
pip_check.sh
@@ -1,7 +1,15 @@
1
#!/bin/sh
2
3
scriptname=$0
4
-pip3=$(find "/opt/homebrew/opt/python@3.11/bin" -iname pip3.11)
+
5
+hw=$(uname -m)
6
+if [ "$hw" = x86_64 ]; then
7
+ pip3=$(find "/usr/local/bin/" -iname pip3.11)
8
+elif [ "$hw" = arm64 ]; then
9
+ pip3=$(find "/opt/homebrew/opt/python@3.11/bin" -iname pip3.11)
10
+else
11
+ exit 1
12
+fi
13
available_packages=$($pip3 list -o)
14
15
pip3_package_list() {
0 commit comments