Martin > I think the problem is that even if you run python from osgeo4w > console, the qgis python modules won't get loaded because the path to > the qgis libraries is not set. I guess you need to do something like: > SET PATH=c:\qgis\bin;%PATH% > (with the correct path to QGIS bin directory)
This is my windows PATH: C:\Documents and Settings\Noli>echo %PATH% C:\Program Files\ActiveState Komodo Edit 5\;C:\Tcl\bin;C:\Qt\qt\mingw\bin;C:\WIN DOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\R\R-2.10.0\bi n;C:\Program Files\QuickTime\QTSystem\;C:\Qt\qt\bin;C:\MinGW\bin;C:\Python25;C:\ Python25\Lib\site-packages\PyQt4;C:\Program Files\TortoiseSVN\bin;C:\gnuplot\bin ;C:\Program Files\R\R-2.10.0\bin;C:\Program Files\FWTools2.4.6\bin;C:\Program Fi les\xulrunner;C:\Down2\sqlite;C:\Down2\sqlite\spatialite-tools-win-x86-2.3.0\bin ;C:\OSGeo4W\apps\qgis-unstable\lib;C:\OSGeo4W\apps\qgis-unstable\python\qgis;C:\ OSGeo4W\apps\qgis-unstable\python;C:\OSGeo4W\apps\qgis-unstable\python\plugins;C :\OSGeo4W\apps\qgis-unstable\bin;C:\OSGeo4W\apps\Python25\Lib\site-packages\qgis ;C:\Python25\Scripts;C:\BORLAND\BCC55\BIN; As you can see: C:\OSGeo4W\apps\qgis-unstable\bin; is included here as you suggested still not work. I really like to solve this problem with python2.5.4 and Qgis. Thanks, Noli _______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
