As far as I can see, you are using Python 2 or this problem occurs only with this version. However, the plugin is unfortunately only compatible with Python 3, as it also uses some other Py 3-only features.
regards, Michael grua...@gmail.com schrieb am Freitag, 19. Februar 2021 um 19:31:26 UTC+1: > thank you, this solved the problem :) > > tke...@gmail.com schrieb am Freitag, 19. Februar 2021 um 14:09:18 UTC+1: > >> The problem is that the extension author used the copyright character >> ('©') in the first line of the code for install.py, which is a non-ascii >> character. In Python 2.x, the default encoding of source code is ascii. If >> non-ascii characters are going to be used, then the encoding must be >> declared, which the author did not do. In Python 3.x, the default encoding >> is utf-8, so the copyright character will work. >> >> The fix is to either remove the character, or switch to Python 3.x. Or, >> contact the author. >> >> On Fri, Feb 19, 2021 at 2:01 AM Christian Gruber <grua...@gmail.com> >> wrote: >> >>> hello, >>> >>> i am trying to install this extension to use it with my weatherlink-live >>> https://github.com/michael-slx/weewx-weatherlink-live >>> >>> it fails with the following error: >>> >>> ###################################### >>> Request to install 'release.zip' >>> Extracting from zip archive release.zip >>> Traceback (most recent call last): >>> File "/usr/share/weewx/wee_extension", line 88, in <module> >>> main() >>> File "/usr/share/weewx/wee_extension", line 80, in main >>> ext.install_extension(options.install) >>> File "/usr/share/weewx/weecfg/extension.py", line 125, in >>> install_extension >>> self.install_from_dir(extension_dir) >>> File "/usr/share/weewx/weecfg/extension.py", line 147, in >>> install_from_dir >>> extension_dir) >>> File "/usr/share/weewx/weecfg/__init__.py", line 1866, in >>> get_extension_installer >>> __import__('install') >>> File "/var/tmp/weewx-weatherlink-live-release/install.py", line 1 >>> SyntaxError: Non-ASCII character '\xc2' in file >>> /var/tmp/weewx-weatherlink-live-release/install.py on line 1, but no >>> encoding declared; see http://python.oev/peps/pep-0263/ for details >>> ###################################### >>> >>> maybe someone can help me :) >>> >>> regards >>> chris >>> >>> -- >>> 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 weewx-user+...@googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/weewx-user/17172c68-ef7b-4d29-a23d-06caf60b4de9n%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/weewx-user/17172c68-ef7b-4d29-a23d-06caf60b4de9n%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- 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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/546caa69-3d25-401c-8182-f39194fba6ddn%40googlegroups.com.