* meant 4.5.1
On Wednesday, April 26, 2023 at 5:28:46 PM UTC+2 [email protected] wrote: > Welp... I just installed 4.9.1 and it installed without a hitch. Seems to > be running (on Simulator). I'll change to the Ultimeter in a bit. I was > using standard skins, not sure what 4.9.1 defaults to. > > > On Wednesday, April 26, 2023 at 4:53:58 PM UTC+2 p q wrote: > >> Yes it's a Python3 complaining about Pyhon2 code. >> >> The latest os defaults to python 3. Your weewx version uses python 2. You >> can continue to use python 2 but you'll need to take some action. Not sure >> what the easiest solution is. Well, I suspect the easiest is to upgrade >> weewx. >> >> On Wed, Apr 26, 2023, 7:41 AM [email protected] <[email protected]> >> wrote: >> >>> I had to rebuild my RPI3B & installed the latest os which is bullseye. >>> Everything is working well except when I execute the instruction sudo >>> python3 ./setup.py install >>> I get an error early on about the statement >>> print "Saved bin subdirectory as %s" % bin_savedir >>> ^ >>> SyntaxError: Missing parentheses in call to 'print'. Did you mean >>> print("Saved bin subdirectory as %s" % bin_savedir)? >>> I added all the python statements and they all ran without error >>> # Required >>> sudo apt install python3-configobj >>> sudo apt install python3-pil >>> sudo apt install python3-serial >>> sudo apt install python3-usb >>> sudo apt install python3-pip >>> >>> sudo apt install python3-cheetah >>> sudo apt install python3-ephem >>> >>> I don't want to mess with a different version of weewx, this one does >>> everything I need; I already have my skins set up for my installation. >>> >>> Anybody know why it's throwing this error? I've installed weewx 3.9.1 / >>> 3.9.2 several times on several systems (buster, jessie) and have never had >>> it complain about the install.py script. >>> >>> Thank you -- >>> >>> -- >>> 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/4eeacfb4-f5af-4947-a0f7-7f6cce318452n%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/weewx-user/4eeacfb4-f5af-4947-a0f7-7f6cce318452n%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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/62a0c0ca-93d5-46a3-9af8-965781bbf7abn%40googlegroups.com.
