[Qgis-user] ubuntu 8.04 and python bindings
Michele Ferretto
michele.ferretto at tiscali.it
Tue May 20 23:57:21 PDT 2008
ls /usr/share/qgis/python
plugins qgis
ls /usr/share/qgis/python
doc grass i18n images python resources svg themes
print sys.path
['', '/usr/share/qgis', '/usr/lib/python25.zip', '/usr/lib/python2.5',
'/usr/lib/python2.5/plat-linux2', '/usr/lib/python2.5/lib-tk',
'/usr/lib/python2.5/lib-dynload',
'/usr/local/lib/python2.5/site-packages',
'/usr/lib/python2.5/site-packages',
'/usr/lib/python2.5/site-packages/Numeric',
'/usr/lib/python2.5/site-packages/PIL',
'/var/lib/python-support/python2.5',
'/var/lib/python-support/python2.5/gtk-2.0',
'/var/lib/python-support/python2.5/HTMLgen']
Martin Dobias wrote:
> 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
>
--
Dr. Michele Ferretto
RSN Biosphaera s.c.
via Angelini 1
38061 Ala loc. Pilcante (TN)
cell 3477633710
mail michele at cooperativabiosphaera.it
www.cooperativabiosphaera.it
More information about the Qgis-user
mailing list