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 _______________________________________________ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user