On Friday, May 1, 2020 at 9:45:38 AM UTC-7, Manfred Maier wrote:
>
>     except pysftp.ConnectionException, e:
>
>                                      ^
>
> SyntaxError: invalid syntax
>
>
>

Any time you see something that looks like that, you are running python3 
against code written for python2

All the extensions written for python2 need to be updated to support 
python3.
You should check to see if there is a more recent version of this extension.


-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/bd4f803b-ce88-40ae-a3ec-67a0c6def303%40googlegroups.com.

Reply via email to