I am trying to save a simple plotly figure to a directory. I understand it needs kaleido (I have version '0.2.1') and also at least plotly '5.3.1' which are installed.
However trying to save the image I get the following error:
fig.write_image(path)
ValueError:
Image export using the "kaleido" engine requires the kaleido package,
which can be installed using pip:
$ pip install -U kaleido
Why is this occuring when all the required packages are there?
import kaleido; print(kaleido.__version__)
before
fig.write_image(path)` – Casta0.2.1
– Twelvemonthfig=go.Figure()
and thenfig.write_image('test.png')
? – Casta