[Qgis-developer] Python3 and cStringIO in processing
Mathieu Pellerin
nirvn.asia at gmail.com
Sun Sep 18 04:24:05 PDT 2016
This error means that your python files have not passed through 2to3. Make
sure PORT_PLUGINS flag is turned on.
Also right now, the make script only runs 2to3 against the python code
inside the output directory, it does *not* do so for the python code copied
to your install location during "make install". You either can run QGIS
from your output directory, or (as a temporary ugly hack) copy the content
of the python folder in your output directory onto your installation's
/share/qgis/python directory.
Hope that helps.
On Sep 18, 2016 6:02 PM, "Richard Duivenvoorde" <rdmailings at duif.net> wrote:
> Hi,
>
> testing Python3/Qt5 I get the following message:
>
> File
> "/home/richard/apps/qgis3/master/debug/share/qgis/
> python/plugins/processing/tools/vector.py",
> line 34, in
> import cStringIO
>
> According to:
>
> http://stackoverflow.com/questions/30377620/python-3-4-
> cstringio-vs-stringio
>
> there is no cStringIO anymore in py3
>
> do I miss a compile/install step or isn't processing not yet ready to
> use yet?
>
> Regards,
>
> Richard Duivenvoorde
> _______________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20160918/11ccfed7/attachment.html>
More information about the Qgis-developer
mailing list