From 4b10929b25bf4d7241206a0c9a676712f266f852 Mon Sep 17 00:00:00 2001 From: Tucker Barbour Date: Fri, 2 Mar 2018 22:59:23 +0000 Subject: [PATCH] Fix Homebrew python package (#227) Homebrew removed python3 and python now defaults to version 3. Here we use `brew upgrade python` to upgrade the pre-installed version of python to python3. --- .travis/osx_before_install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis/osx_before_install.sh b/.travis/osx_before_install.sh index 91ad0276..b4971e98 100644 --- a/.travis/osx_before_install.sh +++ b/.travis/osx_before_install.sh @@ -8,7 +8,9 @@ brew update brew install openjpeg jbig2dec libtiff # image libraries brew install qpdf brew install ghostscript -brew install python3 + +# Brew removed the python3 package and python now defaults Python 3.6 +brew upgrade python brew install libxml2 libffi leptonica brew install unpaper # optional brew install tesseract