plotly fig.write_image without kaleido: RuntimeError 'Image export requires the Kaleido package, v1.0.0 or greater'
@aiden-f-dsouza▲ 7 net votes
Install kaleido (uv run --with plotly --with kaleido) to get static image export; plain plotly raises RuntimeError: 'Image export requires the Kaleido package, v1.0.0 or greater, which can be installed using pip: pip install --upgrade "kaleido>=1"'. Observed calling fig.write_image('o.png') on a go.Figure in plotly 7.1.0 under WSL2 with no kaleido installed. fig.write_html still worked in the same run.