From 02a2227579e16aa6720b6bc6e859358e0c4a8dc6 Mon Sep 17 00:00:00 2001 From: Alexandre Ferreira Benevides Date: Thu, 23 Jul 2020 17:03:59 -0400 Subject: [PATCH] [FIX] install_OSX_dependency.sh python venv - Install lessc --- script/install_OSX_dependancy.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/script/install_OSX_dependancy.sh b/script/install_OSX_dependancy.sh index 4ec32c3..454e1b7 100755 --- a/script/install_OSX_dependancy.sh +++ b/script/install_OSX_dependancy.sh @@ -22,13 +22,15 @@ sudo su - postgres -c "createuser -s ${EL_USER}" 2> /dev/null || true # Install Dependencies #-------------------------------------------------- echo "\n--- Installing Python 3 + pip3 --" -brew install git python3 wget +brew install git python3 wget pyenv brew link git brew link wget echo "\n---- Installing nodeJS NPM and rtlcss for LTR support ----" brew install nodejs npm sudo npm install -g rtlcss - +sudo npm install -g lessc +pyenv install 3.7.7 +pyenv local 3.7.7 #-------------------------------------------------- # Install Wkhtmltopdf if needed #-------------------------------------------------- @@ -49,4 +51,5 @@ fi # ln -s ~/.pyenv/versions/3.6.9/bin/python3.6 /usr/local/bin/python3 # =============================================================================================== echo "\n---- Installing venv if not already existing (rm -r venv if already exists) ----" -~/.pyenv/versions/3.6.9/bin/python3.6 -m venv venv +#~/.pyenv/versions/3.6.9/bin/python3.6 -m venv venv +/Users/"${EL_USER}"/.pyenv/versions/3.7.7/bin/python3 -m venv venv