<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi Marcelo,</p>
<p>if you have a look to the error message - python error messages
should be read strating from the end, you will see the last
message: <i>ModuleNotFoundError: No module named 'arcpy'</i></p>
<p>This means, that the 'arcpy' module is not present in QGIS. Arcpy
is the main module of ArcGis, which binds ArcGis to the Python
ecosystem. So no chance to get this as it is into QGIS. The only
thing you can do is, to have a look to the arcpy classes and
functions in the script and replace them with QGIS classes and
functions, which should be possible but will need some manual work
to do. I've done this before with other tools and it is not that
big thing to convert it towards QGIS<br>
</p>
<p>Good luck and best regards</p>
<p>Stefan</p>
<pre class="moz-signature" cols="72">--
Mit freundlichen Grüßen
Stefan Giese
Projektleiter/Consultant
WhereGroup GmbH
Schwimmbadstr. 2
79100 Freiburg
Germany
Fon: +49 (0)761 / 519 102 - 61
Fax: +49 (0)761 / 519 102 - 11
<a class="moz-txt-link-abbreviated" href="mailto:stefan.giese@wheregroup.com">stefan.giese@wheregroup.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.wheregroup.com">www.wheregroup.com</a>
Geschäftsführer:
Olaf Knopp, Peter Stamm
Amtsgericht Bonn, HRB 9885</pre>
<p><br>
<i></i></p>
<div class="moz-cite-prefix">Am 20.04.2020 um 22:13 schrieb Marcelo
Romero de Moraes:<br>
</div>
<blockquote type="cite"
cite="mid:CAJVdW3pafA-LdWj9kSaM1UXFq4HJcL3BaO-MuuooJEDvz56ZYQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hello Everybody,
<div><br>
</div>
<div>I am trying to run WRF-Hydro scripts in QGIS. I got this
error with Terminal Python:</div>
<div><br>
</div>
<div><i>exec(open('C:/Users/Carla/Desktop/wrf_hydro_arcgis_preprocessor-5.1.1/wrf_hydro_functions.py'.encode('utf-8')).read())<br>
Traceback (most recent call last):<br>
File "C:\PROGRA~1\QGIS3~1.12\apps\Python37\lib\code.py",
line 90, in runcode<br>
exec(code, self.locals)<br>
File "<input>", line 1, in <module><br>
File "<string>", line 26, in <module><br>
File
"C:/PROGRA~1/QGIS3~1.12/apps/qgis/./python\qgis\utils.py",
line 744, in _import<br>
mod = _builtin_import(name, globals, locals, fromlist,
level)<br>
ModuleNotFoundError: No module named 'arcpy'</i><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Anyone could help me ?<br clear="all">
<div><br>
</div>
<div>Thanks in advance!</div>
<div><br>
</div>
<div>Marcelo</div>
<div><br>
</div>
-- <br>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div>Marcelo R. de Moraes<br>
Professor Associado I</div>
<div>Laboratório de Modelagem e Simulação
Computacional (LMSC)<br>
Curso de Engenharia de Energia<br>
UNIPAMPA<br>
Campus Bagé.<br>
Cel: 53 98100-8007<br>
Tel: 53 3240-3600 Ramal: 9672<br>
</div>
<div><br>
</div>
<div><img
src="https://docs.google.com/uc?export=download&id=1x28PnHEqZBHaTEVXV5Reyi_jyd_1DrXj&revid=0B7krgCGIr5kARGxTbHdxQjN6UFA0VXlaRFova1Q2UHNaOEQ4PQ"
moz-do-not-send="true" width="96"
height="37"><br>
</div>
<div><br>
</div>
<div>
<div>"A small man that was larger than
life, never be another one like him.
Gone but not forgotten"</div>
<div>Someone about Ronnie James Dio
(1942-2010)<br>
</div>
</div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></pre>
</blockquote>
<pre class="moz-signature" cols="72">
</pre>
</body>
</html>