From baebd6c1097a6c243d9d0ff1f68b298d092d4e1d Mon Sep 17 00:00:00 2001 From: Aleksandr Chebotov Date: Thu, 29 Oct 2020 16:42:28 +0300 Subject: [PATCH] python link flag --force --- images/macos/provision/core/python.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/images/macos/provision/core/python.sh b/images/macos/provision/core/python.sh index 7dafd273f..da0493199 100755 --- a/images/macos/provision/core/python.sh +++ b/images/macos/provision/core/python.sh @@ -6,7 +6,11 @@ echo "Installing Python Tooling" echo "Brew Installing Python 3" # Workaround to have both 3.8 & 3.9(which required by some brew formulas) in the system, but only 3.8 is linked +brew install python@3.8 brew install python@3.9 +brew unlink python@3.9 +brew unlink python@3.8 +brew link python@3.8 --force echo "Brew Installing Python 2" # Create local tap with formula due to python2 formula depreciation