Hi, i tried to run bat file (C:\OSGeo4W\OSGeo4W.bat), close ms-dos shell and run python>>from qgis.core import * but i receive module qgis.core doesn't found.I also tried to set PATH and PYTHONPATH environment variables ... but it doesn't work.Do you have any other suggestion? Thanks Francesco
----Messaggio originale---- Da: gioha...@gmail.com Data: 24/05/2012 17.15 A: "francescobocca...@libero.it"<francescobocca...@libero.it> Cc: <qgis-developer@lists.osgeo.org> Ogg: Re: [Qgis-developer] from qgis.core impor * Windows problems Hi Francesco,are you using osgeo4w? In that case I suggest you to have a look to the startup .bat files (like C:\OSGeo4W\OSGeo4W.bat), that setup the right evnironment (python pat, bin dires, etc.) In general you have to add the various Qt and Qgis DLLs to the PATH, and configure the python paths to be able to peak the qgis modules. giovanni 2012/5/24 francescobocca...@libero.it <francescobocca...@libero.it> Hi all, i have a problem in my Windows PC. I try to use a python script that call qgis modules. I tried to do : >>from qgis.core import * i receive ImportError: DLL load failed .... How i have to configure my environment variables to get these modules? I try to find some solution on web but they aren't work. Thanks Francesco _______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer