<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.E-mailStijl20
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="NL-BE" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Have you tried installing it from the OSGeo shell instead of from the Windows default shell (cmd.exe)?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Michel<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><br>
<br>
</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><b><span lang="NL" style="font-size:11.0pt;font-family:"Calibri",sans-serif">Van:</span></b><span lang="NL" style="font-size:11.0pt;font-family:"Calibri",sans-serif"> QGIS-Developer [mailto:qgis-developer-bounces@lists.osgeo.org]
<b>Namens </b>Christine<br>
<b>Verzonden:</b> donderdag 15 november 2018 16:44<br>
<b>Aan:</b> qgis-developer@lists.osgeo.org<br>
<b>Onderwerp:</b> [QGIS-Developer] QGIS 3.4 Plugin Python : error during import of PCRaster<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p><span style="font-family:"Verdana",sans-serif;color:gray">Hello all,</span><o:p></o:p></p>
<p> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Verdana",sans-serif;color:gray">I am developping a plugin for QGIS 3.4. In my module irip_dockwidget.py when I try to import PCRaster 4.2. I get this error :</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Verdana",sans-serif;color:gray"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Arial",sans-serif;color:gray">File "C:/Users/a/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\irip\irip_dockwidget.py", line 26, in import
 pcraster as pcr</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-family:"Arial",sans-serif;color:gray">File "C:/PROGRA~1/QGIS3~1.4/apps/qgis/./python\qgis\utils.py", line 672, in _import  mod = _builtin_import(name,
 globals, locals, fromlist, level)</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-family:"Arial",sans-serif;color:gray">File "C:\Program Files\pcraster-4.2.0\python\pcraster\__init__.py", line 62, in  raise ImportError(msg)</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-family:"Arial",sans-serif;color:gray">ImportError: The 'Microsoft Visual C++ 2015 Redistributable Update 3' is required to run PCRaster, available at:</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-family:"Arial",sans-serif;color:gray">             </span><span style="font-family:"Arial",sans-serif;color:gray"><a href="https://www.microsoft.com/en-us/download/details.aspx?id=53840"><span lang="EN-US">https://www.microsoft.com/en-us/download/details.aspx?id=53840</span></a></span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-family:"Arial",sans-serif;color:gray">DLL load failed: Le module spécifié est introuvable.In case you cannot solve the issue please consult the PCRaster mailing list at:
</span><span style="font-family:"Arial",sans-serif;color:gray"><a href="https://lists.geo.uu.nl/mailman/listinfo/pcraster-info"><span lang="EN-US" style="color:gray">https://lists.geo.uu.nl/mailman/listinfo/pcraster-info</span></a></span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-family:"Arial",sans-serif;color:gray"> </span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Verdana",sans-serif;color:gray">I’ve installed the MSCP as recommended in the message but the problem still remains. I’ve mailed to PCRaster team and wait
 for a reply but maybe have you  already seen this problem and you have a solution.
</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Verdana",sans-serif;color:gray">Another point : I developed a command-line version of my application which works well.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Verdana",sans-serif;color:gray">My envir : Windows 8, QGIS 3.4 (QGIS-OSGeo4W-3.4.1-1-Setup-x86_64.exe), Python 3.6, PCRaster 4.2</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Verdana",sans-serif;color:gray">Thanks for your help,</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Verdana",sans-serif;color:gray">Christine</span><o:p></o:p></p>
<p> <o:p></o:p></p>
</div>
</body>
</html>