Skip to content

Commit 993e11e

Browse files
authored
5.3: Fix python/pip installation on macOS
1 parent 4a538d9 commit 993e11e

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

utils/webassembly/macos/install-dependencies.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,15 @@
22

33
set -ex
44

5-
if [ -n "$(brew list | grep python@2)" ]; then
6-
brew uninstall $(brew list | grep python@2)
5+
if ! command -v pip &> /dev/null
6+
then
7+
PIP_COMMAND=pip3
8+
else
9+
PIP_COMMAND=pip
710
fi
811

12+
$PIP_COMMAND install six
13+
914
brew install cmake ninja llvm sccache
1015

1116
# Install latest wasmer

0 commit comments

Comments
 (0)