Install a explicit particular Python version

This commit is contained in:
Tom Parker-Shemilt 2020-03-15 12:02:39 +00:00
parent 1ab7c0e209
commit bc7471fc20

View File

@ -3,13 +3,9 @@
set -ex set -ex
export HOMEBREW_NO_INSTALL_CLEANUP=1 export HOMEBREW_NO_INSTALL_CLEANUP=1
brew update
# An error occurs when upgrading Python, but appears to be benign, hence the "|| true" # Python 3.7.4 with 10.12 bottle
# brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/e9004bd764c9436750a50e0b428548f68fe6a38a/Formula/python.rb
# Error: undefined method `any?' for nil:NilClass
# /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:227:in `depends_on'
brew upgrade python || true
which python3 which python3
python3 --version python3 --version