[Qgis-user] ubuntu 8.04 and python bindings
Michele Ferretto
michele.ferretto at tiscali.it
Wed May 21 04:54:00 PDT 2008
Martin Dobias wrote:
> 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/qgis/
__init__.pyc
>
>> ls /usr/share/qgis/python
>> doc grass i18n images python resources svg themes
>
> That's contents of /usr/share/qgis, isn't it?
yes, sorry for the mistake.
>
>> 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?
>
Yes.
More information about the Qgis-user
mailing list