Hi, I’m trying to save a plotly image as a static .svg file using kaleido. I have kaleido-0.2.1 installed, but when I run this code on jupyter: fig1.write_image("../figures/supp1A.svg", format="svg", engine="kaleido")
I get this error:

ValueError: 
Image export using the "kaleido" engine requires the kaleido package,
which can be installed using pip:
    $ pip install -U kaleido

Why does this happens even tho kaleido is installed?

  • @ryry1985
    link
    English
    31 year ago

    I’ve used jupyter, but not extensively. Maybe this can help?

    • @breadcrumbOP
      link
      English
      21 year ago

      Unfortunatly I’m not using any virtual environments, the packages are installed system-wide and I checked that the python version where the package is installed matched the one used by jupyter. Also, installing from jupyter didn’t work either :/