Have you tried installing it from the OSGeo shell instead of from the Windows default shell (cmd.exe)?
Michel Van: QGIS-Developer [mailto:qgis-developer-boun...@lists.osgeo.org] Namens Christine Verzonden: donderdag 15 november 2018 16:44 Aan: qgis-developer@lists.osgeo.org Onderwerp: [QGIS-Developer] QGIS 3.4 Plugin Python : error during import of PCRaster Hello all, 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 : File "C:/Users/a/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\irip\irip_dockwidget.py", line 26, in import pcraster as pcr 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) File "C:\Program Files\pcraster-4.2.0\python\pcraster\__init__.py", line 62, in raise ImportError(msg) ImportError: The 'Microsoft Visual C++ 2015 Redistributable Update 3' is required to run PCRaster, available at: https://www.microsoft.com/en-us/download/details.aspx?id=53840 DLL load failed: Le module spécifié est introuvable.In case you cannot solve the issue please consult the PCRaster mailing list at: https://lists.geo.uu.nl/mailman/listinfo/pcraster-info 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. Another point : I developed a command-line version of my application which works well. My envir : Windows 8, QGIS 3.4 (QGIS-OSGeo4W-3.4.1-1-Setup-x86_64.exe), Python 3.6, PCRaster 4.2 Thanks for your help, Christine
_______________________________________________ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer