[Qgis-user] ubuntu 8.04 and python bindings

Michele Ferretto michele.ferretto at tiscali.it
Tue May 20 11:01:59 PDT 2008


if I set

export PYTHONPATH=/usr/share/qgis/python/

I have got an error

Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
ImportError: No module named gui

if I set

export PYTHONPATH=/usr/share/qgis/

I have no error


Martin Dobias wrote:
> On Tue, May 20, 2008 at 7:08 PM, Michele Ferretto
> <michele.ferretto at tiscali.it> wrote:
> 
>>> then in python console do:
>>>>>> from qgis.core import *
>>> Will it show some error?
>>>
>>> Martin
>> No, I don't see any error
> 
> And what about this, does it work too?
>>>> from qgis.gui import *
> 
> Martin
> 



More information about the Qgis-user mailing list