[Qgis-developer] QGIS Canvas API : Hello Word

Michael musset mickamusset at gmail.com
Sat Feb 6 14:11:29 EST 2010


hey again,


well now i'm trying to compile myself qgis with following this tutorial :
http://linfiniti.com/2009/11/compiling-qgis-under-ubuntu-9-10/


when i'm trying to compile qgis 'm getting this error :
 ImportError: No module named PyQt4.uic.pyuic


 but i've already these package : python-qt4 python-qt4-dev pyqt4-dev-tools


here is other information :




Traceback (most recent call last):
  File "/usr/bin/pyuic4", line 3, in ?
    import PyQt4.uic.pyuic
ImportError: No module named PyQt4.uic.pyuic
make[2]: *** [python/plugins/plugin_
installer/ui_qgsplugininstallerbase.py] Error 1
make[1]: ***
[python/plugins/plugin_installer/CMakeFiles/pluginstaller.dir/all] Error 2
make: *** [all] Error 2

micka at micka-laptop:~/dev/cpp/qgis/build$ whereis python
python: /usr/bin/python2.6 /usr/bin/python2.5 /usr/bin/python
/usr/bin/python2.6-dbg-config /usr/bin/python2.4 /usr/bin/python2.4-config
/usr/bin/python2.6-dbg /usr/bin/python2.6-config /etc/python2.6
/etc/python2.5 /etc/python /etc/python2.4 /usr/lib/python2.6
/usr/lib/python3.0 /usr/lib/python2.5 /usr/lib/python2.4
/usr/local/bin/python /usr/local/bin/python2.4 /usr/local/lib/python2.6
/usr/local/lib/python2.5 /usr/local/lib/python2.4 /usr/include/python2.6
/usr/include/python2.5 /usr/include/python2.5_d /usr/include/python2.4
/usr/include/python2.6_d /usr/share/python /usr/share/man/man1/python.1.gz




micka at micka-laptop:~/dev/cpp/qgis/build$ which python
/usr/local/bin/python



what is wrong ? thx for your help ^^ ( ubuntu 9.10 )






On Sat, Feb 6, 2010 at 7:03 PM, Anne Ghisla <a.ghisla at gmail.com> wrote:

> On Sat, Feb 6, 2010 at 7:57 PM, Michael musset <mickamusset at gmail.com>
> wrote:
> > Hi,
> >
> > i'm trying to follow this tutorial :
> > http://blog.qgis.org/node/10
> >
> > and when i tape the command cmake .. i'm getting this error :
> >
> > CMake Error: The source directory "/home/micka" does not appear to
> contain
> > CMakeLists.txt.
> > Specify --help for usage, or press the help button on the CMake GUI.
>
> Hi Michael,
>
> the code snippet misses
>
> cd build/
>
> before running cmake. cmake .. means that CMakeLists.txt will be
> searched in the parent directory (correct me if wrong).
>
> hope this helps and happy hacking :)
> Anne
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20100206/c3a3691c/attachment.html


More information about the Qgis-developer mailing list