From 185da1176a27ac915d3626bbfa47a5b5721317a3 Mon Sep 17 00:00:00 2001 From: Thiago Alves Date: Mon, 19 Apr 2021 14:34:52 -0400 Subject: [PATCH] Fix windows installer [pip and python] --- background_installer.sh | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/background_installer.sh b/background_installer.sh index 9c0439f..4b2bb7f 100755 --- a/background_installer.sh +++ b/background_installer.sh @@ -152,12 +152,14 @@ if [ "$1" == "win" ]; then # apt-cyg remove gcc-core gcc-g++ pkg-config automake autoconf libtool make python2 python2-pip sqlite3 apt-cyg install wget gcc-core gcc-g++ git pkg-config automake autoconf libtool make python2 python2-pip sqlite3 python3 lynx -source https://bootstrap.pypa.io/pip/2.7/get-pip.py > get-pip.py - /usr/bin/python get-pip.py - /usr/bin/pip install flask - /usr/bin/pip install flask-login - /usr/bin/pip install pyserial - /usr/bin/pip install pymodbus - pip3 install pymodbus + lynx -source https://bootstrap.pypa.io/pip/get-pip.py > get-pip3.py + /usr/bin/python2 get-pip.py + /usr/bin/python3 get-pip3.py + /usr/bin/python2 -m pip install flask + /usr/bin/python2 -m pip install flask-login + /usr/bin/python2 -m pip install pyserial + /usr/bin/python2 -m pip install pymodbus + /usr/bin/python3 -m pip install pymodbus echo "" echo "[MATIEC COMPILER]"