[Qgis-user] python import errors

José María Michia jose.maria.michia at gmail.com
Fri Nov 14 18:57:26 PST 2008


2008/11/13 Martin Dobias <wonder.sk at gmail.com>:
> 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).

Problem solved after reinstalling qt, SIP and pyqt (using "emerge"),
and then remove the directory of QGIS and having built again.

Thanks all
José María

> Martin
>



More information about the Qgis-user mailing list