<div dir="ltr">Thanks You for reply,<div><br></div><div>Bat file didn't work, latest also. I had a pycripter just lanche and close itself.</div><div><br></div><div>I tried to processe with Qgis stand-alone application (C:/Prog....) and it work fine, but not with OSGEO on C:/OSGeo4W64.</div><div><br></div><div>Another thing that I have a 2 vesrions of Python in OSGEO, I will try to reinstall all.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le ven. 11 déc. 2020 à 13:59, Richard Duivenvoorde <<a href="mailto:rdmailings@duif.net">rdmailings@duif.net</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Normally you use one of the bat files to set all appropriate paths for python?<br>
<br>
Like in the osgeo4w dir there is (with me):<br>
- python-qgis-dev.bat<br>
- python-qgis-ltr.bat<br>
- python-qgis.bat<br>
<br>
Only the first one is failing with me. The others 'just work'?<br>
<br>
Must be something with python packaging?<br>
<br>
@devs: could this be gdal related?<br>
(/me not knowing what he is doing.... but if I throw _core.py on depends.exe I see no gdal in the list of dll's... ??<br>
Note that the same ("import qgis.core") IS working in qgis-dev itself...<br>
<br>
Regards,<br>
<br>
Richard Duivenvoorde<br>
<br>
<br>
On 12/11/20 1:14 PM, Marc Yeranosyan wrote:<br>
> Hello liste,<br>
> <br>
> I have a problem with colling qgis.core in Python interpreter.<br>
> Colling qgis is OK, but qgis.core not working.<br>
> image.png<br>
> OSGEO4W64 (QGIS 3.16) installed on C:\OSGEO4W64 directorie. <br>
> My system PATH:<br>
> image.png<br>
> PYTHONHOME: C:\OSGeo4W64\apps\Python37<br>
> PYTHONPATH: <br>
> image.png<br>
> Is there anything that I missed to add ?<br>
> Thanks you<br>
> <br>
> _______________________________________________<br>
> Qgis-user mailing list<br>
> <a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
> List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="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" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
> <br>
<br>
</blockquote></div>