[gdal-dev] GDAL Python and QGIS 2.99?
Ari Jolma
ari.jolma at gmail.com
Thu Feb 16 09:04:11 PST 2017
16.02.2017, 18:18, Even Rouault kirjoitti:
>
> On jeudi 16 février 2017 18:07:03 CET Ari Jolma wrote:
>
> > I have QGIS 2.18.3 working on my computer and now I want to work a bit
>
> > on QGIS 2.99 (the trunk).
>
> >
>
> > I've got to the point where everything else seems to be working fine
>
> > except that the processing plugin does not work (and I want to play with
>
> > that plugin exactly) and it gives the error
>
> >
>
> > ImportError: ...usr/lib/python2.7/site-packages/osgeo/_gdal.so:
>
> > undefined symbol: PyInstance_Type
>
> >
>
> > It seems to me that the reason is a conflict between Python 2 and 3.
>
> > QGIS 2.99 seems to mostly use Python 3 (2.18.3 is using 2?) and GDAL
>
> > Python uses 2.
>
> >
>
> > How should I proceed? Any ideas?
>
> Ari,
>
> Make sure to configure GDAL --with-python=python3
>
> And configure QGIS master with python3 (but I guess that's checked by
> cmake).
>
ok, thanks. That did it.
I'm trying to add a new processing provider for Perl scripts to the
processing plugin of QGIS.
Ari
> QGIS 3 is Python3 only.
>
> QGIS 2.18 is nominally Python2 and experimentally Python3 .
>
> Even
>
> --
>
> Spatialys - Geospatial professional services
>
> http://www.spatialys.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20170216/f40cd023/attachment.html>
More information about the gdal-dev
mailing list