Marco, I just upgraded to ubuntu 11.04 and had the same problem about SIP(Couldn't load PyQGIS....)
I am running perfectly QGIS, to this i follow this steps: 1) Remove all files and directories in 'build' directory 2) Inside 'build' directory: 2.1) Set the makefile: sudo ccmake .. 2.2) Make and install QGIS sudo make sudo make install * in my case, i made update of sources(checkout from SVN) 3) Install the OSGEO binding for Python sudo apt-get install python-gdal * when updated the ubuntu, the system removed the OSGEO binding Hope it helps. Luiz 2011/5/2 Mayeul Kauffmann <[email protected]>: > Hi Marco, > Myself I migrated to Ubuntu 10.10 and I had the python issue when > building r15676 last Saturday but Martin hint ("completely remove your > build directory") solved the problem for me. > My /etc/apt/sources.list contains the following: > deb http://qgis.org/debian-nightly natty main > deb-src http://qgis.org/debian-nightly natty main > > Do you use one of the followings? > https://launchpad.net/~qgis/+archive/stable > http://les-ejk.cz/ubuntu/ # GIS for Ubuntu > deb http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu > > Does are some I tend to use in the past and that are now commented out > in my sources.list > > Hope it helps. Good luck! > Mayeul > > Le lundi 02 mai 2011 à 11:48 +0200, Martin Dobias a écrit : >> On Mon, May 2, 2011 at 11:40 AM, Marco Bernasocchi >> <[email protected]> wrote: >> >> >> >> I would expect that you have maybe an incompatible version of sip >> >> generator and sip python module or something similar. Not sure though >> >> about the cause. >> > >> > I look into it tonite. But i guessed a similar cause. Is it correct that >> > trunk needs sip api v 7? >> >> No. QGIS does not care about sip api version. That is an internal >> matter of SIP - it forbids running python modules using incompatible >> spi api version to protect users from misbehavior (or crashes) due to >> changes in SIP interals between incompatible sip releases. >> >> Martin >> _______________________________________________ >> Qgis-developer mailing list >> [email protected] >> http://lists.osgeo.org/mailman/listinfo/qgis-developer > > > _______________________________________________ > Qgis-developer mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/qgis-developer > _______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
