SWAT+ Icon not showing up

168 views
Skip to first unread message

egla...@gmail.com

unread,
Dec 11, 2021, 1:59:52 PM12/11/21
to QSWAT+

2021-12-11T13:55:44     INFO    Failed to load Cython module: wrong architecture?: Traceback (most recent call last):
              File "C:/Users/ericlappala/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QSWATPlus3_64\QSWATPlus.py", line 84, in __init__
              from . import dataInC # @UnusedImport
             ImportError: cannot import name 'dataInC' from 'QSWATPlus3_64' (C:/Users/ericlappala/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QSWATPlus3_64\__init__.py)

Risor

unread,
Dec 22, 2021, 8:04:11 AM12/22/21
to QSWAT+

QSWATPLUS manual v2.1.pdf

Note that there is a new QGIS installer, described as Standalone installers (MSI) from OSGeo4W packages (recommended for new users). This also has a long term release version 3.16. It uses a different version of Python (3.9), from the exe installer (3.7) and so is incompatible with the QSWAT+ installer distributed with the SWAT+ Editor (see below). It is, however, possible to use QSWAT+ with this QGIS installer, by selecting a QSWATPlus3_9 installer from https://bitbucket.org/ChrisWGeorge/qswatplus3/downloads/. You will need to install the SWAT+ Editor as described below and then add the QSWATPlus3_9 plugin. You would then select QSWATPlus3_9 from the plugins menu of QGIS instead of 3_64. If you select a plugin incompatible with your version of QGIS the plugin will appear in the plugins menu but the QSWAT+ button will not appear. You will find a message including the phrase "Failed to load Cython module: wrong architecture?" in the QSWAT+ tab of the QGIS log messages.

 

Other solution is install to QGIS-OSGeo4W-3.16.11-1-Setup-x86_64.exe and swatplus-windows-installer-2.0.4.zip. Both in Python 3.7

 

I hope this help.

Best

Mojtaba Shafiei

unread,
May 10, 2023, 3:32:34 PM5/10/23
to QSWAT+
Hi
I have the same problem with QGIS 3.22 LTR and QSWATplus 3_64install_2.3.5 exe. 
I already had the  QGIS 3.22 LTR (MSI version, i.e. Python 3.9). I installed both QSWATpluses (64 and 9) but again the plugin did not appear. 

Now, I am looking for  QGIS 3.22 LTR with ".exe", but I can not find it !!!
I also checked the repository https://download.osgeo.org/qgis/windows/ , there is only the MSI version of QGIS. 

I would appreciate if some can provide any suggestion

Reply all
Reply to author
Forward
0 new messages