<div dir="auto">Run py3_env in your osgeo4w shell <a href="https://gis.stackexchange.com/a/277842/2856">https://gis.stackexchange.com/a/277842/2856</a><div dir="auto"><br></div><div dir="auto">LukeĀ </div></div><br><div class="gmail_quote"><div dir="ltr">On Sat., 19 May 2018, 06:55 Alexis R.L., <<a href="mailto:alroyliz0@gmail.com">alroyliz0@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Greetings,<div><br></div><div>I made a script to automate some gis tasks using qgis. I tested the script in the python window in qgis3.0 and I can import it and use it properly.</div><div><br></div><div>The issue is that I'm having trouble using it outside of qgis I can't seem to get python3 to work properly. For the python3.exe in app/python36 folder I pasted the python36.dll and it works but the python script can't import the qgis core. As for the python3.exe in the bin I can't get the python3.exe to work properly either directly or from the osgeo because something got corrupted in the environment variable after the first use and the initialiser call the codec located in the python27 libraries and it just crash.</div><div><br></div><div>Has anyone got something like that to work?</div><div><br></div><div>Thanks</div><div><br></div><div>Alex RL</div></div>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank" rel="noreferrer">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></blockquote></div>