[Qgis-developer] python: no module name core

Nathan Woodrow madmanwoo at gmail.com
Tue May 20 07:42:48 PDT 2014


This seems to be due to my changes today, although I'm not sure what is
going on unless I stuffed up the cmake files.

qgis.core is now a package i.e folder and it imports the sip modules, now
called _core, _gui, etc.

For some reason the package is missing the core, gui, package folders.

- Nathan


On Wed, May 21, 2014 at 12:34 AM, Victor Olaya <volayaf at gmail.com> wrote:

> it works fine here
>
> It might be that you have a plugin that has a package called qgis, which
> might be shadowing the core one.
>
>
> 2014-05-20 16:27 GMT+02:00 Denis Rouzaud <denis.rouzaud at gmail.com>:
>
>>  Hi all,
>>
>> From python console, running from qgis.core import * gives:
>> Traceback (most recent call last):
>>   File "<stdin>", line 1, in <module>
>>   File "/usr/lib/python2.7/dist-packages/qgis/__init__.py", line 36, in
>> <module>
>>     from qgis.core import QgsFeature, QgsGeometry
>> ImportError: No module named core
>>
>> Any idea what's going on?
>>
>> Cheers,
>>
>> Denis
>>
>> _______________________________________________
>> Qgis-developer mailing list
>> Qgis-developer at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20140521/99ab6065/attachment.html>


More information about the Qgis-developer mailing list