[Qgis-user] After fresh compilation under Ubuntu Hardy error "Couldn't load PyQGIS"

Tim Sutton tim at linfiniti.com
Fri Aug 8 15:48:31 PDT 2008


Hi Nikos

There have been some issues with QGIS svn compile from source being
linked to incorrect QGIS libs so at runtime the qgis app is using the
wrong lib. Try checking your QGIS executable and checking that all the
QGIS cor, gui and python libs it is linked to are as expected.

Regards

Tim

2008/8/8 Nikos Alexandris <nikos.alexandris at felis.uni-freiburg.de>:
> On Fri, 2008-08-08 at 12:22 -0700, Alex Mandel wrote:
>> Nikos Alexandris wrote:
>> > Dear list(s), I face this "strange" error message. I say strange because
>> > the module "qgis.core" exists and QGIS runs properly, yet without python
>> > support. I follow always the same configuration/compilation/installation
>> > procedure. Any ideas?
>> >
> [...]
>>
>> I know there where some changes recently and the python support is
>> optional now. I'm not sure how to do it when compiling from source but try a
>> sudo apt-get install python-qgis
>>
>> Alex
>
> Hi Alex and thank you for your suggestion!
>
> How can I avoid installing libgdal and force only python-qgis to be
> installed? I know that this can be done and I am searching it. But, will
> it be ok to do so? I have gdal_stable from source and don't want the
> ubuntu-libgdal package (?).
>
> Greetings, Nikos
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>



-- 
Tim Sutton
QGIS Project Steering Committee Member - Release Manager
Visit http://qgis.org for a great open source GIS
Blog: http://tim.linfiniti.com
Skype: timlinux
Irc: timlinux on #qgis at freenode.net



More information about the Qgis-user mailing list