https://bugzilla.novell.com/show_bug.cgi?id=783854 https://bugzilla.novell.com/show_bug.cgi?id=783854#c1 Jan Matejek <jmatejek@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jmatejek@suse.com AssignedTo|jmatejek@suse.com |dassau@gbd-consult.de Summary|[QGIS] repo-geo: cannot |[QGIS] repo-geo: cannot |import qgis.core/gui into |import qgis.core/gui into |python without setting |python |PYTHONPATH | --- Comment #1 from Jan Matejek <jmatejek@suse.com> 2012-10-16 16:22:51 UTC --- this fails because qgis installs itself outside default python import path (when PYTHONPATH is unset, it defaults to /usr/lib(64)/pythonX.Y) and that is not supposed to work. The fix is to either modify qgis to install to the usual place, or to install a python path extension file (something.pth). Either of those must be done in qgis package. Setting default PYTHONPATH for this makes no sense - that is a good user-side workaround, but a bad system-wide configuration. Reassigning to Otto Dassau, listed as bugowner on the qgis package. A reasonable solution seems to be creating a file qgis.pth and installing it into %python_sitearch directory. This file should contain the absolute path to the modules, so, in this case, /usr/share/qgis/python. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.