From be672489ad8a79ee4a5c3cfb899d10fb64b712e4 Mon Sep 17 00:00:00 2001 From: Friwi Date: Tue, 19 Dec 2023 11:24:22 +0100 Subject: [PATCH] Update install_macos_dependencies.sh --- scripts/install_macos_dependencies.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/scripts/install_macos_dependencies.sh b/scripts/install_macos_dependencies.sh index 0cc8223..21ab6c6 100644 --- a/scripts/install_macos_dependencies.sh +++ b/scripts/install_macos_dependencies.sh @@ -1,7 +1,9 @@ #!/bin/bash -brew install ninja -python3 -m pip install --ignore-installed six +PYTHON=/Library/Frameworks/Python.framework/Versions/Current/bin/python -/Library/Frameworks/Python.framework/Versions/Current/bin/python -m pip list -echo "import six.moves" | /Library/Frameworks/Python.framework/Versions/Current/bin/python +brew install ninja +"$PYTHON" -m pip install --ignore-installed six + +"$PYTHON" -m pip list +echo "from six.moves import configparser" | "$PYTHON" && echo "Success importing stuff from six moves python module"