Re: [Qgis-user] ubuntu 8.04 and python bindings

2008-05-20 Thread Martin Dobias
Hi, ok let's try to track down the problem. Do you use some package (which?) or do you compile qgis from source? Do you have any previous versions of QGIS installed on the system? What happens when you open console and type (supposing that your qgis installation is in /usr/local): $ export

Re: [Qgis-user] ubuntu 8.04 and python bindings

2008-05-20 Thread Michele Ferretto
Martin Dobias wrote: Hi, ok let's try to track down the problem. Do you use some package (which?) or do you compile qgis from source? Do you have any previous versions of QGIS installed on the system? I installed qgis from the repositories; I purged the previous installation What happens

Re: [Qgis-user] ubuntu 8.04 and python bindings

2008-05-20 Thread Martin Dobias
On Tue, May 20, 2008 at 7:08 PM, Michele Ferretto [EMAIL PROTECTED] 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

Re: [Qgis-user] ubuntu 8.04 and python bindings

2008-05-20 Thread Michele Ferretto
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,