Martin Dobias wrote:
ls /usr/share/qgis/python
plugins qgis
and contents of /usr/share/qgis/python/qgis? :-)
ls /usr/share/qgis/python/qgis/
__init__.pyc
So here's the problem - in that directory you should have also core.so
and gui.so files which are python modules for QGIS. Please paste here
the contents of the qgis package, you can do it like this:
dpkg -L qgis
But I'm wondering why importing the bindings doesn't fail if you set
python path to /usr/share/qgis. Maybe the python modules are installed
in /usr/lib/python2.5/site-packages or
/usr/local/lib/python2.5/site-packages. Can you check it? (they're
present if there's a subdirectory called "qgis" and it has several
files inside: __init__.py, core.so, gui.so
Yes! in /usr/lib/python2.5/site-packages/qgis there are all the files
mentioned above; I copied these files in /usr/share/qgis/python/qgis/
just to try and now that's all right, I can use the python plugins.
which is the path to change without having to copy the files?
And...many thanks Martin!
_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user