[Qgis-user] How to set python search path for standalone script?

David Shi davidgshi at yahoo.co.uk
Wed May 4 05:54:09 PDT 2016


Hello, Jurgen,
It only worked once.  Then, it can not find other modules.
How to set a top level path, so that Python will look for modules in any sub-directories.
Regards.
David 

    On Wednesday, 4 May 2016, 13:45, David Shi <davidgshi at yahoo.co.uk> wrote:
 

 Do you mean run python-qgis.bat in command window?Then, run my script?Regards.David

    On Wednesday, 4 May 2016, 13:14, Jürgen E. Fischer <jef at norbit.de> wrote:
 

 Hi David,

On Wed, 04. May 2016 at 12:07:51 +0000, David Shi wrote:
> Thank you.
> I am using QGIS in Windows.  Do I need to set paths?

No, run python-qgis.bat yourscript


Jürgen

-- 
Jürgen E. Fischer        norBIT GmbH              Tel. +49-4931-918175-31
Dipl.-Inf. (FH)          Rheinstraße 13            Fax. +49-4931-918175-50
Software Engineer        D-26506 Norden              http://www.norbit.de
_______________________________________________
Qgis-user mailing list
Qgis-user at lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

   

  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20160504/ab96d53d/attachment.html>


More information about the Qgis-user mailing list