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

Borys Jurgiel borys at wolf.most.org.pl
Sat Aug 9 09:07:25 PDT 2008


Probably you can avoid installing the packages by creating the symbolic link:

ln -s /usr/local/share/qgis/python/qgis /usr/lib/python2.5/site-packages/qgis

I had the same problem under Ubuntu Gutsy. It was because the qgis python 
modules was installed in the /usr/local/share/qgis/python/qgis directory, 
whereas they was expected in the /usr/lib/python2.5/site-packages/qgis, as 
they from packages are placed. I dont know the reason. In cmake, both 
PYTHON_INCLUDE_PATH and SIP_INCLUDE_DIR are set to /usr/include/python2.5



More information about the Qgis-user mailing list