[Python] Saving a plotly image not working with kaleido even though it is installed

Discussão em 'Python' iniciado por Stack, Março 19, 2025.

  1. Stack

    Stack Membro Participativo

    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?

    Continue reading...

Compartilhe esta Página