From 07e3f824006be83a83fa37c29cf05a72ba3b353a Mon Sep 17 00:00:00 2001 From: Sam Germain Date: Thu, 15 Jul 2021 01:03:32 -0600 Subject: [PATCH] Changed to python3.8 installing first, removed test_and_fix_python_on_mac --- setup.sh | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/setup.sh b/setup.sh index 78cb499a8..3bcbfc48d 100755 --- a/setup.sh +++ b/setup.sh @@ -17,7 +17,8 @@ function check_installed_python() { exit 2 fi - for v in {9..7}; do + for v in 8 9 7 + do PYTHON="python3.${v}" which $PYTHON if [ $? -eq 0 ]; then @@ -141,7 +142,6 @@ function install_macos() { install_mac_newer_python_dependencies fi install_talib - test_and_fix_python_on_mac } # Install bot Debian_ubuntu @@ -198,19 +198,6 @@ function reset() { updateenv } -function test_and_fix_python_on_mac() { - - if ! [ -x "$(command -v python3.6)" ] - then - echo "-------------------------" - echo "Fixing Python" - echo "-------------------------" - echo "Python 3.6 is not linked in your system. Fixing it..." - brew link --overwrite python - echo - fi -} - function config() { echo "-------------------------"