<div dir="ltr"><p style="margin:0px;white-space:pre-wrap"><span style="font-family:Garamond,serif;font-size:11pt">Somewhere between installing BlenderGIS, OSGEO4W testing version, and ArcGISPro, the QGIS plugins that relied on GDAL quit working. I’ve tried uninstalling and re-installing OSGEO4W and the standalone QGIS 3.18..3-2 and a few other tips like specifying the Python path, but nothing worked. I suspect something happened when I was installing the BlenderGIS addon. It called for a separate installation of Python and GDAL wheel. I’ve copied the error message below. The problem isn’t just related to the QGIS CWSI plugin, this is just an example of what I see from several plugins. Can anyone help me fix this?</span><br></p><p style="margin:0px;white-space:pre-wrap"><span style="font-family:Garamond,serif;font-size:11pt"><br></span></p><p style="margin:0px;white-space:pre-wrap"><span style="font-family:Garamond,serif;font-size:11pt">Kind regards,</span></p><p style="margin:0px;white-space:pre-wrap"><span style="font-family:Garamond,serif;font-size:11pt"><br></span></p><p style="margin:0px;white-space:pre-wrap"><span style="font-family:Garamond,serif;font-size:11pt">Bill</span></p><p style="margin:0px;white-space:pre-wrap"><span style="font-weight:600;color:rgb(255,0,0)"><br></span></p><p style="margin:0px;white-space:pre-wrap"><span style="font-weight:600;color:rgb(255,0,0)">Couldn't load plugin 'cwsi' due to an error when calling its classFactory() method</span> <br></p>
<h3 style="margin:14px 0px 12px"><span style="font-size:large">ModuleNotFoundError: No module named 'gdal' </span></h3>
<pre style="margin-top:12px;margin-bottom:12px"><span style="font-family:"Courier New"">Traceback (most recent call last):<br> File "C:\PROGRA~1/QGIS31~1.3/apps/qgis/./python\qgis\utils.py", line 335, in _startPlugin<br> plugins[packageName] = package.classFactory(iface)<br> File "C:\Users/beggers/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\cwsi\__init__.py", line 35, in classFactory<br> from .cwsi import CWSI<br> File "C:\PROGRA~1/QGIS31~1.3/apps/qgis/./python\qgis\utils.py", line 799, in _import<br> mod = _builtin_import(name, globals, locals, fromlist, level)<br> File "C:\Users/beggers/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\cwsi\cwsi.py", line 43, in <br> import gdal<br> File "C:\PROGRA~1/QGIS31~1.3/apps/qgis/./python\qgis\utils.py", line 799, in _import<br> mod = _builtin_import(name, globals, locals, fromlist, level)<br>ModuleNotFoundError: No module named 'gdal'<br></span></pre>
<p style="margin:0px;white-space:pre-wrap"><br><span style="font-weight:600">Python version:</span> 3.9.5 (tags/v3.9.5:0a7dcbd, May 3 2021, 17:27:52) [MSC v.1928 64 bit (AMD64)] <br><span style="font-weight:600">QGIS version:</span> 3.18.3-Zürich Zürich, 735cc85be9 <br></p>
<h4 style="margin:12px 0px"><span style="font-size:medium">Python Path:</span></h4>
<ul style="margin:0px"><li style="margin:12px 0px 0px;white-space:pre-wrap">C:/PROGRA~1/QGIS31~1.3/apps/qgis/./python</li>
<li style="margin:0px;white-space:pre-wrap">C:/Users/beggers/AppData/Roaming/QGIS/QGIS3\profiles\default/python</li>
<li style="margin:0px;white-space:pre-wrap">C:/Users/beggers/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins</li>
<li style="margin:0px;white-space:pre-wrap">C:/PROGRA~1/QGIS31~1.3/apps/qgis/./python/plugins</li>
<li style="margin:0px;white-space:pre-wrap">C:\Program Files\QGIS 3.18.3\binC:\Program Files (x86)\ArcGIS\bin</li>
<li style="margin:0px;white-space:pre-wrap">C:\Program Files\QGIS 3.18.3\bin\python39.zip</li>
<li style="margin:0px;white-space:pre-wrap">C:\PROGRA~1\QGIS31~1.3\apps\Python39\DLLs</li>
<li style="margin:0px;white-space:pre-wrap">C:\PROGRA~1\QGIS31~1.3\apps\Python39\lib</li>
<li style="margin:0px;white-space:pre-wrap">C:\Program Files\QGIS 3.18.3\bin</li>
<li style="margin:0px;white-space:pre-wrap">C:\PROGRA~1\QGIS31~1.3\apps\Python39</li>
<li style="margin:0px;white-space:pre-wrap">C:\PROGRA~1\QGIS31~1.3\apps\Python39\lib\site-packages</li>
<li style="margin:0px;white-space:pre-wrap">C:\PROGRA~1\QGIS31~1.3\apps\Python39\lib\site-packages\win32</li>
<li style="margin:0px;white-space:pre-wrap">C:\PROGRA~1\QGIS31~1.3\apps\Python39\lib\site-packages\win32\lib</li>
<li style="margin:0px;white-space:pre-wrap">C:\PROGRA~1\QGIS31~1.3\apps\Python39\lib\site-packages\Pythonwin</li>
<li style="margin:0px 0px 12px;white-space:pre-wrap">C:/Users/beggers/AppData/Roaming/QGIS/QGIS3\profiles\default/python</li></ul></div>