[Qgis-user] ubuntu 8.04 and python bindings
Martin Dobias
wonder.sk at gmail.com
Tue May 20 15:06:28 PDT 2008
On Tue, May 20, 2008 at 8:01 PM, Michele Ferretto
<michele.ferretto at tiscali.it> wrote:
> 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
Interesting... could you please list contents of directory
/usr/share/qgis/python and directory /usr/share/qgis ?
Also, please try to paste here your whole python path. Open python
interpreter and type:
>>> import sys
>>> print sys.path
Cheers
Martin
More information about the Qgis-user
mailing list