<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Hi,<div><br><div>It’s odd that the OSGeo4w shell would ask for a version of Python (2.7) that has not been used since QGIS 2.x.  My guess is that the shell is picking up old configurations.  I would personally uninstall the entire OSGEO4W installation, delete the directories and the user files found in your user profile.   It’s a bit drastic as a solution but that would be my first solution... it would probably take less time than troubleshooting the shell...<br><br><div dir="ltr">Nicolas Cadieux<div><a href="https://gitlab.com/njacadieux">https://gitlab.com/njacadieux</a></div></div><div dir="ltr"><br><blockquote type="cite">Le 25 févr. 2021 à 18:26, karsten <karsten@terragis.net> a écrit :<br><br></blockquote></div><blockquote type="cite"><div dir="ltr">

<meta content="text/html; charset=us-ascii" http-equiv="Content-Type">
<meta name="GENERATOR" content="MSHTML 11.00.10570.1001">

<div dir="ltr" align="left">
<div dir="ltr" align="left">
<div><font color="#000080" size="2" face="Arial"><span class="523595208-25022021">Hi 
All,</span></font></div>
<div><font color="#000080" size="2" face="Arial"><span class="523595208-25022021"></span></font> </div>
<div><span class="523595208-25022021"><span class="629592622-25022021"><font face="Arial"><font color="#000080"><font size="2"><span class="178591823-25022021">on my 
updated windows 10 I am trying to run gdal_calc via the osego4w shell (newest 
version).</span></font></font></font></span></span></div>
<div><span class="523595208-25022021"><span class="629592622-25022021"><span class="178591823-25022021"></span><font face="Arial"><font color="#000080"><font size="2"><span class="178591823-25022021">I can see gdal_calc when running 0-help. 
When I try to run it: </span></font></font></font></span></span><span class="523595208-25022021"><span class="629592622-25022021"><font face="Arial"><font color="#000080"><font size="2"><span class="178591823-25022021">gdal_calc 
</span></font></font></font></span></span></div>
<div><span class="523595208-25022021"><span class="629592622-25022021"><font face="Arial"><font color="#000080"><font size="2"><span class="178591823-25022021"></span></font></font></font></span></span> </div>
<div><span class="523595208-25022021"><span class="629592622-25022021"><font face="Arial"><font color="#000080"><font size="2"><span class="178591823-25022021">I am 
getting the following error:</span></font></font></font></span></span></div>
<div><span class="523595208-25022021"><span class="629592622-25022021"><font face="Arial"><font color="#000080"><font size="2"><span class="178591823-25022021"></span></font></font></font></span></span> </div></div></div>
<div dir="ltr" align="left"><font color="#000080" size="2" face="Arial">Unable to create 
process using 'C:\OSGEO4~1\bin\python.exe 
"C:\OSGeo4W64\apps\Python27\Scripts\gdal_calc.py" '</font></div>
<div dir="ltr" align="left"><span class="178591823-25022021"><font color="#000080" size="2" face="Arial"></font></span> </div>
<div dir="ltr" align="left"><span class="178591823-25022021"><font color="#000080" size="2" face="Arial">I checked the system path and python 27 is not on the path 
itself but I have added c:\OSGeo4W64\bin\ . Seems it finds the old python only 
and that does not appear to run.</font></span></div>
<div dir="ltr" align="left"><span class="178591823-25022021"><font color="#000080" size="2" face="Arial">Any ideas how to solve this ?</font></span></div>
<div dir="ltr" align="left"><span class="178591823-25022021"><font color="#000080" size="2" face="Arial"></font></span> </div>
<div dir="ltr" align="left"><span class="178591823-25022021"><font color="#000080" size="2" face="Arial">Cheers</font></span></div>
<div dir="ltr" align="left"><span class="178591823-25022021"><font color="#000080" size="2" face="Arial">Karsten</font></span></div>
<div><font color="#000080" size="2" face="Arial"></font> </div>
<span>_______________________________________________</span><br><span>Qgis-user mailing list</span><br><span>Qgis-user@lists.osgeo.org</span><br><span>List info: https://lists.osgeo.org/mailman/listinfo/qgis-user</span><br><span>Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user</span><br></div></blockquote></div></div></body></html>