[Qgis-user] ubuntu 8.04 and python bindings

Martin Dobias wonder.sk at gmail.com
Wed May 21 04:34:49 PDT 2008


On Wed, May 21, 2008 at 8:57 AM, Michele Ferretto
<michele.ferretto at tiscali.it> wrote:
> ls /usr/share/qgis/python
> plugins qgis

and contents of /usr/share/qgis/python/qgis? :-)


> ls /usr/share/qgis/python
> doc  grass  i18n  images  python  resources  svg  themes

That's contents of /usr/share/qgis, isn't it?

> 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']

This is after doing "export PYTHONPATH=/usr/share/qgis" right?

Martin



More information about the Qgis-user mailing list