I am trying to get started at developing plugins for QGIS (an open source GIS software) and I am trying to compile a UI python file using pyuic4 but when I try to compile the UI file I get an error, see below:
D:\Program Files (x86)\Quantum GIS Wroclaw\bin>pyuic4 -o "C:\workspaces\FlowDire
'import site' failed; use -v for traceback
Traceback (most recent call last):
, line 34, in <module>
ImportError: No module named optparse
I am using QGIS 1.7.4 on a Windows 7 64bit. I used the Plugin Builder to create all the necessary files. I haven't written any other code yet.
Thanks for you help.