AW: Re: [Qgis-developer] Python bindings not available

Düster Horst Horst.Duester at bd.so.ch
Wed May 23 02:13:25 EDT 2007


Hallo Matthew

Python is able to load qgis.core module see below:

Python 2.5 (r25:51908, Feb 19 2007, 10:39:19)
[GCC 3.4.4 20050721 (Red Hat 3.4.4-2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from qgis import core
>>>


Horst

-----Ursprüngliche Nachricht-----
Von: Matthew Perry [mailto:perrygeo at gmail.com]
Gesendet am: Dienstag, 22. Mai 2007 16:56
An: Düster Horst
Cc: qgis-developer
Betreff: Re: [Qgis-developer] Python bindings not available

On 5/22/07, Düster Horst <Horst.Duester at bd.so.ch> wrote:
> I'm trying to use the Python bindings of QGIS 0.9 but I do have some
> problems to run Python with QGIS. I configure the Python bindings with
> ccmake. All looks fine. cmake says:
>
> ...
>  -- Python libraries found
>  -- Python bindings enabled
>  ...
>
> All looks succesful anyway. But when I start QGIS a window appears
with the
> Message:
>
> "Couldn't load QGIS bindings. Python support will be disabled"
>



Start up python and try to import the qgis module (eg "from qgis
import core"). Do you get any errors?

-- 
Matthew T. Perry
http://www.perrygeo.net

"You never change things by fighting the existing reality.
To change something, build a new model that makes
the existing model obsolete" - R. Buckminster Fuller

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20070523/a4039ad0/attachment.html


More information about the Qgis-developer mailing list