From 9417049eefbb0dabb17af9fbc94ad499bcb54125 Mon Sep 17 00:00:00 2001 From: Marius Stanciu Date: Thu, 13 Feb 2020 21:11:06 +0200 Subject: [PATCH] - some updates in the requirements file and in setup_ubuntu.sh; for now versions higher than 5.12.1 of pyqt5 are not working --- requirements.txt | 3 ++- setup_ubuntu.sh | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 259ef455..6e58e3f7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,8 @@ # This file contains python only requirements to be installed with pip # Python packages that cannot be installed with pip (e.g. PyQt5, GDAL) are not included. # Usage: pip3 install -r requirements.txt -numpy >=1.16 +pyqt5==5.12 +numpy>=1.16 matplotlib>=3.1 cycler>=0.10 python-dateutil>=2.1 diff --git a/setup_ubuntu.sh b/setup_ubuntu.sh index 4830b383..9054a57c 100644 --- a/setup_ubuntu.sh +++ b/setup_ubuntu.sh @@ -3,6 +3,7 @@ sudo apt install --reinstall libpng-dev libfreetype6 libfreetype6-dev libgeos-de sudo apt install --reinstall python3-dev python3-pyqt5 python3-pyqt5.qtopengl python3-gdal python3-simplejson sudo apt install --reinstall python3-pip python3-tk python3-imaging +sudo python3 -m pip install --upgrade pyqt5==5.12 sudo python3 -m pip install --upgrade pip numpy scipy shapely rtree tk lxml cycler python-dateutil kiwisolver dill sudo python3 -m pip install --upgrade vispy pyopengl setuptools svg.path ortools freetype-py fontTools rasterio ezdxf sudo python3 -m pip install --upgrade matplotlib qrcode reportlab svglib \ No newline at end of file