diff --git a/buildscripts/winbuild.sh b/buildscripts/winbuild.sh
index da5997bd..edb441ed 100755
--- a/buildscripts/winbuild.sh
+++ b/buildscripts/winbuild.sh
@@ -67,10 +67,9 @@ function install_python(){
 		echo "Installing vc_redist (2008) for 32 bit "
 		wine vcredist_x86.exe /Q
 	fi
-	# add cert
-	if [ -f /usr/local/share/ca-certificates/bitmessage-proxy.crt ]; then
-		wine python -m pip config set global.cert 'z:\usr\local\share\ca-certificates\bitmessage-proxy.crt'
-	fi
+        echo "Installing pytools 2020.2"
+        # last version compatible with python 2
+        wine python -m pip install pytools==2020.2
 	echo "Upgrading pip"
 	wine python -m pip install --upgrade pip
 }