[Qgis-user] python import errors

Martin Dobias wonder.sk at gmail.com
Thu Nov 13 02:49:35 PST 2008


On Thu, Nov 13, 2008 at 2:15 AM, José María Michia
<jose.maria.michia at gmail.com> wrote:
> I have noticed that "/usr/local/lib/libqgispython.so.0.11" is out of
> date. I deleted the older version of the file "/
> usr/local/lib/libqgispython.so.0.11" (and also libqgisgrass) QGIS and
> now works fine (without python and without grass, I guess).
>
> I think QGIS has not been properly compiled. I remember a message on
> ccmake said that "Python is not being built," but imagine that it was
> not serious. Return to the compilation process and send a message with
> this problem.

Ok, so this means that outdated libqgispython.so was from previous installation.

I think some python-related configuration parameters for QGIS haven't
been updated since the upgrade. The simplest way to fix it is remove
the whole build directory and then build QGIS again (check messages
from cmake whether it's going to build python support).

Martin



More information about the Qgis-user mailing list