MLB-LED-Scoreboard / mlb-led-scoreboard

An LED scoreboard for Major League Baseball :baseball:
GNU General Public License v3.0
576 stars 102 forks source link

PIL failed to load #522

Closed mdskier closed 4 months ago

mdskier commented 4 months ago

Downloaded the latest version (7.0.1) and am getting the following: WARNING (18:05:29): Attempted to load an insecure PIL version (8.3.2). We require PIL 10.0.1 or higher. WARNING (18:05:29): PIL failed to load -- images will not be displayed.

I see there was a change in v7.0.0 to disable Pillow until an upgrade path can be found. Did that patch not get included in v7.0.1?

ty-porter commented 4 months ago

The full changelog for that patch is available via Releases https://github.com/MLB-LED-Scoreboard/mlb-led-scoreboard/releases/tag/v7.0.1

In short, v7.0.0 disables Pillow due to a CVE that was not easily addressed by many users since it requires at least Python 3.8.

If your Python is supported, you can always install it manually:

sudo python3 -m pip install Pillow>=10.0.1

We plan to re-enable this by default in v8.0.0. Note this is a major version increase due to the fact that most users will be required to install Raspberry Pi OS Bookworm to move to a supported Python version.