<div dir="ltr">Hello Sir/Ma'am,<div><br><div>Warm Greetings.</div><div><br></div><div>I am Omkar Kadlag from Mumbai,India.I am pursuing Electronics and Telecommunication Engineering majors from K.J.Somaiya Institute of Engineering and Information Technology,Mumbai. I am working on a project "Watershed Analysis using python".<br></div><div><br></div><div>While using GRASS GIS python console for analysis, I'm unable to get desired results. While giving the input ( as a DEM tile ) in the PowerShell prompt of GRASS GIS Software, it gives an error, as 'wxpython file' is not available.</div><div><br></div><div>Error -</div><div><br></div><div>Starting GRASS GIS...<br>Traceback (most recent call last):<br>  File "C:\Program Files\GRASS GIS 7.8\gui\wxpython\gis_set.py", line 43, in <module><br>    from core.gcmd import GMessage, GError, DecodeString, RunCommand<br>  File "C:\Program Files\GRASS GIS 7.8\gui\wxpython\core\gcmd.py", line 43, in <module><br>    from win32file import ReadFile, WriteFile<br>ImportError: DLL load failed: The specified procedure could not be found.<br>ERROR: Error in GUI startup. See messages above (if any) and if necessary, please report this error to the GRASS developers.<br>On systems with package manager, make sure you have the right GUI package, probably named grass-gui, installed.<br>To run GRASS GIS in text mode use the --text flag.<br>Use '--help' for further options<br>     grass78 --help<br>See also: <a href="https://grass.osgeo.org/grass78/manuals/helptext.html">https://grass.osgeo.org/grass78/manuals/helptext.html</a><br>Exiting...<br>Press any key to continue . . .<br></div><div><br></div><div>Then I made a new environment in the anaconda prompt, where I installed 'wxpython' and was successfully able to run GRASS GIS software, but now the issue is I can't use the command prompt for my analysis. Then I tried to give inputs in the anaconda command prompt but was still unable to get correct outputs.</div><div><br></div><div>Error: </div><div>(base) PS C:\Users\Omkar> conda activate geopandas_env<br>(geopandas_env) PS C:\Users\Omkar> cd 'C:\Program Files\'<br>(geopandas_env) PS C:\Program Files> grass78 --gui<br>Starting GRASS GIS...<br>WARNING: Concurrent mapset locking is not supported on Windows<br>Cleaning up temporary files...<br><br>          __________  ___   __________    _______________<br>         / ____/ __ \/   | / ___/ ___/   / ____/  _/ ___/<br>        / / __/ /_/ / /| | \__ \\_  \   / / __ / / \__ \<br>       / /_/ / _, _/ ___ |___/ /__/ /  / /_/ // / ___/ /<br>       \____/_/ |_/_/  |_/____/____/   \____/___//____/<br><br>Welcome to GRASS GIS 7.8.5<br>GRASS GIS homepage:                      <a href="https://grass.osgeo.org">https://grass.osgeo.org</a><br>This version running through:            Command Prompt (C:\WINDOWS\system32\cmd.exe)<br>Help is available with the command:      g.manual -i<br>See the licence terms with:              g.version -c<br>See citation options with:               g.version -x<br>If required, restart the GUI with:       g.gui wxpython<br>When ready to quit enter:                exit<br><br>Launching <wxpython> GUI in the background, please wait...<br>Microsoft Windows [Version 10.0.19042.746]<br>(c) 2020 Microsoft Corporation. All rights reserved.<br><br>C:\Program Files>r.in.gdal -e input="D:\NRSC\Month_Jan\ASTGTMV003_N19E073-dem" output=DEM<br>ERROR: Unable to open datasource <D:\NRSC\Month_Jan\ASTGTMV003_N19E073-dem></div><div>C:\Program Files> </div><div><br></div><div>I want solutions where I can run GRASS GIS directly from the command line and implement my solutions on that. <br></div></div><div><br></div><div>Yours Sincerely,</div><div>Omkar. </div></div>