[Qgis-developer] Couldn't load QGIS bindings.
Martin Dobias
wonder.sk at gmail.com
Tue Feb 5 13:43:52 EST 2008
On Feb 1, 2008 8:43 AM, Alessandro Pasotti <apasotti at gmail.com> wrote:
> >
> > 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
Hmmmm.... this all looks fine. I wonder what might be the problem...
- when starting the Python interpreter, do you also set PYTHONPATH
environment variable?
- haven't you ever installed QGIS with variable
BINDINGS_GLOBAL_INSTALL (if so, there could be an old python module)
- can you paste here listing of following directories?
- ~/.qgis/python/plugins
- /usr/local/qgis/share/python
- /usr/local/qgis/share/python/plugins
Let's see whether I'll be a bit wiser from this information :)
Martin
More information about the Qgis-developer
mailing list