[Qgis-developer] Problem with setting up PyQGIS (QGIS 1.7.3)

Gary Sherman gsherman at geoapt.com
Wed Jan 11 10:41:02 EST 2012


On Jan 10, 2012, at 11:52 PM, Kaps Stefan wrote:

> I'm not able to set up the Python environment for standalone applications correctly, allthough there are several documentations on the internet -> I am using this one http://www.qgis.org/pyqgis-cookbook/intro.html#python-applications, but I still get the error message
> 
> "Traceback (most recent call last):
>   File "test.py", line 1, in <module>
>     import PyQt4.QtGui
> ImportError: No module named PyQt4.QtGui

Have you installed PyQt?
-gary

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Gary Sherman
GeoApt LLC
  http://geoapt.com
Chair, QGIS PSC
Books:
  http://geospatialdesktop.com
  http://qgisbook.com
"We work virtually everywhere"
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=









More information about the Qgis-developer mailing list