[Qgis-developer] Python 3 / PyQt 5

Matthias Kuhn matthias at opengis.ch
Thu Dec 3 08:05:56 PST 2015


Hi Karl,

Are you aware that python 3 support by no means is production ready. Not
even a single core plugin is compatible. It's just the C++ interface
that is ready to be compiled on a python 3 system. So if you need
something python related at all in QGIS you will not want to work with
this at the moment.
If you do not need any python dependent functionality of QGIS you should
be ready to try it. Or even better, if you are able to write and debug
python code, it would be very nice if somebody would start to port the
python code in QGIS to be compatible with python2 and python3.

Enough disclaimer:

Thanks for your report, I think that relates to a very recent commit
7bab2e50.
Can you try to revert it and see if it compiles better?

Best regards,
Matthias

On 12/03/2015 04:26 PM, scalet at yebu.de wrote:
> Hi Matthias,
>
> as mentioned in your announcement as of Nov 10 (same subject) I was
> trying
> to build the newest git pull.
>
> After a long compilation it finally ended in
> ...
> import PyQt4.uic.pyuic
> ImportError: No module named PyQt4.uic.pyuic
> ...
>
> Other than that, I installed all requirement
> for Ubuntu 15.10 (which I have) as described
> in your PR 2430.
>
> I would prefer a Python3 / PyQt5 ONLY version.
> Is this possible at all or is there no way to
> also install PyQt4?
>
>
> And/or what about QGIS 3.0, is it better to wait
> for it (having a pure Python3/Qt5 environment there)
> But I guess this is not happening soon.
>
>
> Thank you
> Karl
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

-- 
Matthias Kuhn
OPENGIS.ch - https://www.opengis.ch
Spatial • (Q)GIS • PostGIS • Open Source


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20151203/92a62978/attachment.sig>


More information about the Qgis-developer mailing list