From f71bcd501730eee3cca05d51aae347e7cd2c2284 Mon Sep 17 00:00:00 2001 From: Daren Thomas Date: Mon, 24 Feb 2020 13:12:24 +0100 Subject: [PATCH] update pip, skipping over the broken version of pip --- setup/cityenergyanalyst.nsi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup/cityenergyanalyst.nsi b/setup/cityenergyanalyst.nsi index 626346cb98..e2b9c217a6 100644 --- a/setup/cityenergyanalyst.nsi +++ b/setup/cityenergyanalyst.nsi @@ -173,8 +173,9 @@ Section "Base Installation" Base_Installation_Section WriteINIStr "$INSTDIR\Dependencies\Python\qt.conf" Paths Libraries "$0/Dependencies/Python/Library/lib" WriteINIStr "$INSTDIR\Dependencies\Python\qt.conf" Paths Headers "$0/Dependencies/Python/Library/include/qt" - # DetailPrint "Updating Pip" - # nsExec::ExecToLog '"$INSTDIR\Dependencies\Python\python.exe" -m pip install -U --force-reinstall pip' + DetailPrint "Updating Pip" + nsExec::ExecToLog '"$INSTDIR\Dependencies\Python\python.exe" -m pip install -U --force-reinstall "pip>=2.20.2"' + DetailPrint "Pip installing CityEnergyAnalyst==${VER}" nsExec::ExecToLog '"$INSTDIR\Dependencies\Python\python.exe" -m pip install -U cityenergyanalyst==${VER}'