[Qgis-user] After fresh compilation under Ubuntu Hardy error "Couldn't load PyQGIS"
Nikos Alexandris
nikos.alexandris at felis.uni-freiburg.de
Sat Aug 9 09:55:38 PDT 2008
On Sat, 2008-08-09 at 18:07 +0200, Borys Jurgiel wrote:
> 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
Nice hint ;-)
More information about the Qgis-user
mailing list