From 5f9232b5e0f1e53ccc5deef4be10e17064852d56 Mon Sep 17 00:00:00 2001 From: Jie Luo Date: Wed, 9 May 2018 15:35:03 -0700 Subject: [PATCH] use brew install instead of easy_install in OSX (#4537) use brew instead of easy_install in OSX (easy_install keep failing for a month) --- tests.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests.sh b/tests.sh index feb90c593b..5fec74c048 100755 --- a/tests.sh +++ b/tests.sh @@ -228,7 +228,8 @@ internal_install_python_deps() { fi # Install tox (OS X doesn't have pip). if [ $(uname -s) == "Darwin" ]; then - sudo easy_install tox + brew upgrade python + python3 -m pip install tox else sudo pip install tox fi