add workaround (#1824)

This commit is contained in:
Mikhail Timofeev
2020-10-15 17:03:33 +03:00
committed by GitHub
parent abec49dcd9
commit a1f77c28f3

View File

@@ -4,7 +4,12 @@ source ~/utils/utils.sh
echo "Installing Python Tooling"
echo "Brew Installing Python 3"
/usr/local/bin/brew install python3
# Workaround to have both 3.8 & 3.9(which required by some brew formulas) in the system, but only 3.8 is linked
/usr/local/bin/brew install python@3.8
/usr/local/bin/brew install python@3.9
/usr/local/bin/brew unlink python@3.9
/usr/local/bin/brew unlink python@3.8
/usr/local/bin/brew link python@3.8
echo "Brew Installing Python 2"
# Create local tap with formula due to python2 formula depreciation