Closed riccardoklinger closed 4 years ago
This error is caused by incompatibility with old version of python (3.5.2). The fix is added since version 1.6.2. However, I would recommend to use a qgis build with a more recent python version (3.6+) if possible for more stabitlity and functionality.
Yet you need to agree that the new LTR release is 3.4.8 which should every plugin be tested on. I was trying to change my Pythonpath to use the locally available 3.7.2 python version. yet no success. I would propose to check maybe the version:
import sys if sys.version_info.minor < 3.6: blablub
thanks for the change. works now on my system as well. would close this, when 1.6.2 is in the official repo.
Regarding the python version, I think that depends on when the QGIS is built and the platform. For instance, my qgis builds (Windows) all comes with recent python version:
QGIS version 3.4.4-Madeira
Python: 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)]
QGIS version 3.0.3-Girona
3.6.0 (v3.6.0:41df79263a11, Dec 23 2016, 08:06:12) [MSC v.1900 64 bit (AMD64)]
To have QGIS with recent python version, I guess we need to rebuild or redownload the preferred QGIS release.
Having a version check makes lots of sense. Thanks for the suggestion.
I used the plugin installer to install the plugin in QGIS 3.4.4... Unfortunately it "fails" with this message:
My setup:
On Ubuntu/Elementary OS