[Qgis-developer] Couldn't load QGIS bindings.
Alessandro Pasotti
apasotti at gmail.com
Fri Feb 1 02:43:18 EST 2008
2008/2/1, Martin Dobias <wonder.sk at gmail.com>:
> On Jan 31, 2008 5:41 PM, Alessandro Pasotti <apasotti at gmail.com> wrote:
> > Hi all,
> > The build went fine, but now I see this message in a popup at startup:
> >
> > Couldn't load QGIS bindings.
> > Python support will be disabled.
> >
> > From a pyton console this works fine:
> >
> > >>> from qgis import *
>
> Hi,
>
> I don't understand this well... if QGIS says that it couldn't load
> bindings, you can't open python console in it. Or are you referring to
> python console run from shell?
Yes, from a shell.
>
>
> > Please note that qgis python bindings were working fine with svn built
> > just before christmas.
> >
> > Any hint?
>
> Well, for me it works :)
> Can you give some more details? like what installation path you use
> for QGIS, what version of python (haven't you installed a newer
> version recently?) etc.
No, I'm pretty sure python is the same, paths are the same etc. I just
did a new build after updating the svn.
ale at toshiba-u300:~/public_html/parconord$ python
Python 2.5.1 (r251:54863, Oct 5 2007, 13:50:07)
[GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2
Here is the output of cmake..
ale at toshiba-u300:~/dev/cpp/qgis/build$ cmake ..
-- Found Proj: /usr/lib/libproj.so
-- Found Sqlite3: /usr/lib/libsqlite3.so
-- Found GEOS: /usr/local/lib/libgeos.so
-- Found GDAL: /usr/lib/libgdal1.4.0.so
-- Found PostgreSQL: /usr/lib/libpq.so
-- Found Expat: /usr/lib/libexpat.so
-- Using GSL from /usr
-- Found GRASS: /usr/lib/grass (6.2.2)
-- Python libraries found
-- Python bindings enabled
-- Found Qt-Version 4.3.2
-- Configuring done
-- Generating done
-- Build files have been written to: /home/ale/dev/cpp/qgis/build
The path is /usr/local/
ale at toshiba-u300:~/dev/cpp/qgis/build$ which qgis
/usr/local/bin/qgis
Thanks for your help.
--
Alessandro Pasotti
w3: www.itopen.it
More information about the Qgis-developer
mailing list