PNG export issues on Raspberry (kaleido/ orca)

Hello, I am trying to display a Plotly chart on a raspberry pi (headless) but Kaleido can’t be installed it seems… (using pi zero w 2) and orca neither. Does anyone know how to fix this? The only alternative I have found is matplotlib as it seems the png exporter work. Bu I need to redo the chart from scratch…
Thank you

Hey @ysiegel, I don´t think there is a fix to this. Plotly depends on kaleido for exporting the figures. Why can’t Kaleido be installed?

Thanks, something to do with the architecture of the chips, cf below from ChatGPT but I have no clue about this.
I

The problem is architecture compatibility. Kaleido provides precompiled binaries for x86_64 and aarch64 (ARM64).
• The Raspberry Pi Zero 2 W uses an ARMv8 CPU, but Raspberry Pi OS is often run in 32-bit (armhf) mode by default.
• If you’re running 32-bit Raspberry Pi OS, Kaleido’s default binary won’t work, because it expects 64-bit (aarch64).
• If you’re running 64-bit Raspberry Pi OS, it may work, though you might still hit Chromium compatibility issues due to the Pi Zero’s limited RAM (512MB).

Interesting @ysiegel. Sounds like your setup is quite minimal. I never would have thought I’d say that, but maybe you should look for a different, more minimal, graphing package as plotly requires certain resources.