[Qgis-developer] [[ImportError]]: dynamic module does not define init function (initcore)
Matthias Kuhn
matthias at opengis.ch
Mon Nov 30 11:59:06 PST 2015
Hi Martin
Can you `touch python/core/core.sip` or start with a clean build dir?
Sometimes an error happens when building the python bindings and when
compiling again the build system spuriously assumes that python bindings
have been built correctly and skips rebuilding them despite them not
actually being built.
Matthias
On 11/30/2015 08:48 PM, Martin Landa wrote:
> 2015-11-30 20:40 GMT+01:00 Martin Landa <landa.martin at gmail.com>:
>>> which has been correctly detected. I can import `qgis.core` from
>>> Python interpreter, QGIS shows "[[ImportError]]: dynamic module does
>>> not define init function (initcore)".
> ok, built so libs seems to be empty:
>
> nm /usr/local/share/qgis/python/qgis/_core.so | grep Qgs -c
> 0
>
> Ma
>
--
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/20151130/210eeb52/attachment.sig>
More information about the Qgis-developer
mailing list