Thanks for the report, Lucas. I forgot to update the version numbers with 5.0.0a17, which is why it shows as a16. This has been corrected in a18.
I was able to reproduce your problem. It can be solved with *sudo apt install libopenjp2-7* but the library really should have been installed from the Pillow wheel. I can't quite figure out why that didn't happen. A couple of comments: - Bullseye comes with Pillow 8.1.2, while WeeWX requires >=8.2. So, pip should have installed a later version of Pillow when it did the weewx install. - Because it looks like you did a "sudo pip install", you may have broken some system software. In particular, anything that depended on Pillow 8.1.2. - In your "pip3 list" Pillow was not listed. Nor was weewx. Had you done an uninstall? - When you use 'pip3 list', be sure to use sudo if that's how you installed weewx. Also, the flag is --verbose, not ~verbose. Here's what mine looks like after installing weewx: sudo python3 -m pip list --verbose Package Version Location Installer ------------- --------- -------------------------------------- --------- certifi 2020.6.20 /usr/lib/python3/dist-packages chardet 4.0.0 /usr/lib/python3/dist-packages colorzero 1.1 /usr/lib/python3/dist-packages configobj 5.0.8 /usr/local/lib/python3.9/dist-packages pip CT3 3.3.1 /usr/local/lib/python3.9/dist-packages pip distro 1.5.0 /usr/lib/python3/dist-packages ephem 3.7.7.0 /usr/local/lib/python3.9/dist-packages pip gpiozero 1.6.2 /usr/lib/python3/dist-packages idna 2.10 /usr/lib/python3/dist-packages numpy 1.19.5 /usr/lib/python3/dist-packages picamera2 0.3.8 /usr/lib/python3/dist-packages pidng 4.0.9 /usr/lib/python3/dist-packages piexif 1.1.3 /usr/lib/python3/dist-packages Pillow 9.4.0 /usr/local/lib/python3.9/dist-packages pip pip 20.3.4 /usr/lib/python3/dist-packages pyephem 3.7.7.0 /usr/local/lib/python3.9/dist-packages pip PyMySQL 1.0.2 /usr/local/lib/python3.9/dist-packages pip pyserial 3.5 /usr/local/lib/python3.9/dist-packages pip python-apt 2.2.1 /usr/lib/python3/dist-packages python-prctl 1.7 /usr/lib/python3/dist-packages pyusb 1.2.1 /usr/local/lib/python3.9/dist-packages pip requests 2.25.1 /usr/lib/python3/dist-packages RPi.GPIO 0.7.0 /usr/lib/python3/dist-packages setuptools 52.0.0 /usr/lib/python3/dist-packages simplejpeg 1.6.4 /usr/lib/python3/dist-packages six 1.16.0 /usr/lib/python3/dist-packages spidev 3.5 /usr/lib/python3/dist-packages ssh-import-id 5.10 /usr/lib/python3/dist-packages toml 0.10.1 /usr/lib/python3/dist-packages urllib3 1.26.5 /usr/lib/python3/dist-packages v4l2-python3 0.3.1 /usr/lib/python3/dist-packages weewx 5.0.0a18 /usr/local/lib/python3.9/dist-packages pip wheel 0.34.2 /usr/lib/python3/dist-packages More later. On Tue, Feb 21, 2023 at 10:18 AM Lucas Heijst <[email protected]> wrote: > This is the list on my pi3b+ > > pip3 list ~verbose > Package Version > ------------- --------- > certifi 2020.6.20 > chardet 4.0.0 > colorzero 1.1 > distro 1.5.0 > gpiozero 1.6.2 > idna 2.10 > numpy 1.19.5 > picamera2 0.3.8 > pidng 4.0.9 > piexif 1.1.3 > Pillow 8.1.2 > pip 20.3.4 > python-apt 2.2.1 > python-prctl 1.7 > requests 2.25.1 > RPi.GPIO 0.7.0 > setuptools 52.0.0 > simplejpeg 1.6.4 > six 1.16.0 > spidev 3.5 > ssh-import-id 5.10 > toml 0.10.1 > urllib3 1.26.5 > v4l2-python3 0.3.1 > wheel 0.34.2 > > Op dinsdag 21 februari 2023 om 14:23:31 UTC-3 schreef [email protected]: > >> Worked for me on a pi4 FWIW. >> That library comes from Pillow, so perhaps that didn't install somehow. >> >> Try "pip3 list --verbose" and look for the Pillow line. >> Mine looks like: >> Pillow 9.4.0 >> /home/pi/.local/lib/python3.9/site-packages pip >> >> On Tuesday, February 21, 2023 at 5:16:51 AM UTC-8 [email protected] >> wrote: >> >>> Installed Weewx 5.0.0a17 (which show as a16) with pip3 on a raspberry pi >>> with bullseye and configured for Simulator. >>> >>> Got an error with ImageGenerator, see attachment. >>> >>> My knowledge of Linux and Python is not much so probably I missed >>> something during install. >>> >>> Luc >>> >> -- > You received this message because you are subscribed to the Google Groups > "weewx-development" 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-development/234260c2-812b-4b75-a6c4-5ff8f3d4050an%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-development/234260c2-812b-4b75-a6c4-5ff8f3d4050an%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "weewx-development" 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-development/CAPq0zEB7bBkZHcA7kKakm%2BY1T_jKxjYu-p9Gv7zR5a2V4DQtqA%40mail.gmail.com.
