QSWAT+3_64 plugin installed in QGIS version 3.16.10-Hannover but icon is not appearing on QGIS toolbar

895 views
Skip to first unread message

Khadge Avinash

unread,
Sep 12, 2021, 9:12:17 AM9/12/21
to QSWAT+
Latest QGIS version is 3.16.10-Hannover. But It is not given whether QGIS is of 64 bit or 32 bit, not in website from where I downloaded it nor in software itself.


Below are the messages from QSWAT+ tab.

Any help would be greatly appreacited.

Thank you

2021-09-11T09:27:28     INFO    QSWAT+ failed to import HRUs: Traceback (most recent call last):
              File "C:\Users/Anurag/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QSWATPlus3_64\DBUtils.py", line 41, in
              from .dataInC import BasinData, CellData, LSUData, WaterBody # type: ignore # @UnresolvedImport @UnusedImport
              File "C:\PROGRA~1/QGIS31~1.10/apps/qgis-ltr/./python\qgis\utils.py", line 793, in _import
              mod = _builtin_import(name, globals, locals, fromlist, level)
             ModuleNotFoundError: No module named 'QSWATPlus3_64.dataInC'
             
             During handling of the above exception, another exception occurred:
             
             Traceback (most recent call last):
              File "C:\Users/Anurag/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QSWATPlus3_64\QSWATTopology.py", line 39, in
              from .DBUtils import DBUtils # type: ignore # @UnusedImport
              File "C:\PROGRA~1/QGIS31~1.10/apps/qgis-ltr/./python\qgis\utils.py", line 793, in _import
              mod = _builtin_import(name, globals, locals, fromlist, level)
              File "C:\Users/Anurag/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QSWATPlus3_64\DBUtils.py", line 45, in
              from QSWATUtils import QSWATUtils, FileTypes # @UnresolvedImport @Reimport
              File "C:\PROGRA~1/QGIS31~1.10/apps/qgis-ltr/./python\qgis\utils.py", line 793, in _import
              mod = _builtin_import(name, globals, locals, fromlist, level)
             ModuleNotFoundError: No module named 'QSWATUtils'
             
             During handling of the above exception, another exception occurred:
             
             Traceback (most recent call last):
              File "C:\Users/Anurag/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QSWATPlus3_64\QSWATPlus.py", line 52, in
              from .hrus2 import HRUs
              File "C:\PROGRA~1/QGIS31~1.10/apps/qgis-ltr/./python\qgis\utils.py", line 793, in _import
              mod = _builtin_import(name, globals, locals, fromlist, level)
              File "C:\Users/Anurag/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QSWATPlus3_64\hrus2.py", line 46, in
              from .QSWATTopology import QSWATTopology # type: ignore
              File "C:\PROGRA~1/QGIS31~1.10/apps/qgis-ltr/./python\qgis\utils.py", line 793, in _import
              mod = _builtin_import(name, globals, locals, fromlist, level)
              File "C:\Users/Anurag/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QSWATPlus3_64\QSWATTopology.py", line 45, in
              from QSWATUtils import QSWATUtils, FileTypes, ListFuns # @UnresolvedImport @Reimport
              File "C:\PROGRA~1/QGIS31~1.10/apps/qgis-ltr/./python\qgis\utils.py", line 793, in _import
              mod = _builtin_import(name, globals, locals, fromlist, level)
             ModuleNotFoundError: No module named 'QSWATUtils'
             

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

2021-09-11T17:05:09     INFO    QSWAT+ failed to import HRUs: Traceback (most recent call last):
              File "C:\Users/Anurag/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QSWATPlus3_64\DBUtils.py", line 41, in
              from .dataInC import BasinData, CellData, LSUData, WaterBody # type: ignore # @UnresolvedImport @UnusedImport
              File "C:\PROGRA~1/QGIS31~1.10/apps/qgis-ltr/./python\qgis\utils.py", line 793, in _import
              mod = _builtin_import(name, globals, locals, fromlist, level)
             ModuleNotFoundError: No module named 'QSWATPlus3_64.dataInC'
             
             During handling of the above exception, another exception occurred:
             
             Traceback (most recent call last):
              File "C:\Users/Anurag/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QSWATPlus3_64\QSWATTopology.py", line 39, in
              from .DBUtils import DBUtils # type: ignore # @UnusedImport
              File "C:\PROGRA~1/QGIS31~1.10/apps/qgis-ltr/./python\qgis\utils.py", line 793, in _import
              mod = _builtin_import(name, globals, locals, fromlist, level)
              File "C:\Users/Anurag/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QSWATPlus3_64\DBUtils.py", line 45, in
              from QSWATUtils import QSWATUtils, FileTypes # @UnresolvedImport @Reimport
              File "C:\PROGRA~1/QGIS31~1.10/apps/qgis-ltr/./python\qgis\utils.py", line 793, in _import
              mod = _builtin_import(name, globals, locals, fromlist, level)
             ModuleNotFoundError: No module named 'QSWATUtils'
             
             During handling of the above exception, another exception occurred:
             
             Traceback (most recent call last):
              File "C:\Users/Anurag/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QSWATPlus3_64\QSWATPlus.py", line 52, in
              from .hrus2 import HRUs
              File "C:\PROGRA~1/QGIS31~1.10/apps/qgis-ltr/./python\qgis\utils.py", line 793, in _import
              mod = _builtin_import(name, globals, locals, fromlist, level)
              File "C:\Users/Anurag/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QSWATPlus3_64\hrus2.py", line 46, in
              from .QSWATTopology import QSWATTopology # type: ignore
              File "C:\PROGRA~1/QGIS31~1.10/apps/qgis-ltr/./python\qgis\utils.py", line 793, in _import
              mod = _builtin_import(name, globals, locals, fromlist, level)
              File "C:\Users/Anurag/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QSWATPlus3_64\QSWATTopology.py", line 45, in
              from QSWATUtils import QSWATUtils, FileTypes, ListFuns # @UnresolvedImport @Reimport
              File "C:\PROGRA~1/QGIS31~1.10/apps/qgis-ltr/./python\qgis\utils.py", line 793, in _import
              mod = _builtin_import(name, globals, locals, fromlist, level)
             ModuleNotFoundError: No module named 'QSWATUtils'
             

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

Marc

unread,
Sep 19, 2021, 10:48:54 AM9/19/21
to QSWAT+
I have exactly the same problem... Installed QGIS 3.16 64bits. Tried to install the plugin with swatplus-windows-installer-2.0.4 or individually, it doesn't change anything. Icon not showing and same messages as above in the QGIS logs.

Diana Lucina Hincapié Marín

unread,
Sep 23, 2021, 6:21:34 PM9/23/21
to QSWAT+
Hello, 

I have installed QSWAT on my all PC, but I bought a new one, and I could not find the plugin, nevertheless, QGIS shows me a message telling that the plugin is not activated, but if I go to the plugin chart, the reload button doesn't work... So, what can I Do?

Thank you in advance

Chris George

unread,
Sep 24, 2021, 7:45:32 AM9/24/21
to Diana Lucina Hincapié Marín, QSWAT+
The usual reason for the QSWAT+ plugin button not appearing is that you
have installed a 32 bit version of QGIS. Start QGIS, select Help and
then About. The header of the About window will say 'About QGIS - nn
Bit - About' where nn is 32 or 64. QSWAT+ needs 64 bit.

The second possible reason is that you installed QGIS from the
'Standalone installers (MSI) from OSGeo4W packages (recommended for new
users)' section of the QGIS downloads page instead of the standalone
installer from 'Long-term release in old OSGeo4W (continued with
previous dependencies)' section. The installer you want has a file name
ending with .exe; the wrong one ends with .msi. Or you can check you
have a directory C:\Program Files\QGIS 3.16\apps\Python37. If instead
you have Python39 you have used the wrong installer.

If you check all the above but still have a problem, send me the full
contents of the QSWAT+ tab of the log window (button at bottom right of
QGIS window).

Chris
> --
> You received this message because you are subscribed to the Google
> Groups "QSWAT+" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to qswatplus+...@googlegroups.com
> <mailto:qswatplus+...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/qswatplus/e96da7db-3dce-41e5-8b54-aa9fac3e5555n%40googlegroups.com
> <https://groups.google.com/d/msgid/qswatplus/e96da7db-3dce-41e5-8b54-aa9fac3e5555n%40googlegroups.com?utm_medium=email&utm_source=footer>.

Lasantha Jayasinghe

unread,
Sep 24, 2021, 1:55:47 PM9/24/21
to QSWAT+
Hi All,
I had the same issue with 3.16.  I installed QGIS 3.7.1 and then it appeared. What I noticed 3.16 is with Python39 and Python37 is the only version showing the Icon. Better go for the older QGIS version till they rectify this problem.
Thank You

yogesh palanivel

unread,
Sep 24, 2021, 1:55:47 PM9/24/21
to QSWAT+
Hello,

I faced the same issue. Initially the 64 bit version of QGIS 3.16.10 installation was done in Local Disk C > Program Files/ Program Files (x86).
Later I tried installing that in Local Disk C> QGIS 3.16 folder and the QSWAT+3_64 plugin worked for me.
Kindly try this.

Danielle Bressiani

unread,
Sep 26, 2021, 8:39:52 PM9/26/21
to QSWAT+
Thank you very much Chris! Now it worked.

Federal University of Pelotas, Brazil

Rahul Agrawal

unread,
Oct 22, 2021, 10:07:00 AM10/22/21
to QSWAT+
I have installed QSWAT on my all PC, but I bought a new one, and I could not find the plugin, nevertheless, QGIS shows me a message telling that the plugin is not activated, but if I go to the plugin chart, the reload button doesn't work... So, what can I Do?


Rahul Agrawal

unread,
Oct 22, 2021, 10:07:00 AM10/22/21
to QSWAT+
I have exactly the same problem... Installed QGIS 3.16 64bits. Tried to install the plugin with swatplus-windows-installer-2.0.4 or individually, it doesn't change anything. Icon not showing and same messages as above in the QGIS logs.


Reply all
Reply to author
Forward
0 new messages