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
<[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]
www.cooperativabiosphaera.it
_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user