It seems I spoke too hastily: you can use QGIS 3.16.8 provided you
choose the installer lower down the page.
The long term release one under 'Standalone installers (MSI) from
OSGeo4W packages (recommended for new users)', which is
https://qgis.org/downloads/QGIS-OSGeo4W-3.16.8-4.msi, is the one that
uses Python 3.9, and cannot be used with QSWAT or QSWAT+
The long term release ones (32 and 64 bit) under 'Standalone installer
for long term release (continued with dependencies from old OSGeo4W)'
which are
32 bit:
https://qgis.org/downloads/QGIS-OSGeo4W-3.16.8-1-Setup-x86.exe
64 bit:
https://qgis.org/downloads/QGIS-OSGeo4W-3.16.8-1-Setup-x86_64.exe
continue to use Python 3.7 and are fine with QSWAT and QSWAT+.
My apologies for the confusion.
Chris
On 7/3/2021 12:22 PM,
cge...@mcmaster.ca wrote:
> I have just discovered that QGIS have changed the version of Python from
> 3.7 in QGIS 3.16.7 to 3.9 in QGIS 3.16.8, which is the current latest
> long term release version on Windows. This means that QSWAT will not
> load into it, until I have rebuilt one module and worked out, if I can,
> how to make a single version of QSWAT work with either version of QGIS.
>
> Symptoms of having the incompatible version are that QSWAT3 or QSWAT3_64
> appears in the list of plugins, and can be checked for loading, but the
> plugin button fails to appear in the tool bar.
>
> Meantime, if you want to install or update QGIS on Windows, please use
> one of the following links:
> 32 bit:
https://qgis.org/downloads/QGIS-OSGeo4W-3.16.7-1-Setup-x86.exe
> 64 bit:
https://qgis.org/downloads/QGIS-OSGeo4W-3.16.7-1-Setup-x86_64.exe
>
> If you have to use an incompatible version with QSWAT there is a work
> around at the cost of slightly slower code, and you can email me for
> details.
>
> I haven't investigated Linux or Mac yet, but I'll let you know when I have.
>
> 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
qswat+un...@googlegroups.com
> <mailto:
qswat+un...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/qswat/d49941de-12be-4c94-b543-b4869d70b222n%40googlegroups.com
> <
https://groups.google.com/d/msgid/qswat/d49941de-12be-4c94-b543-b4869d70b222n%40googlegroups.com?utm_medium=email&utm_source=footer>.