Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Plotly 5.x recommends pip install -U kaleido which is no longer compatible #5241

Open
Assignees
Labels
P1needed for current cycle featuresomething new
@mofojed

Description

Just ran into this issue since kaleido 1.0.0 was just released yesterday.

Steps to Reproduce

  1. Install plotly 5.x (pip install "plotly<6.0.0")
  2. In a python session, create a plotly figure and try to write it using to_image (using instructions from https://plotly.com/python/static-image-export/)
  3. Follow the steps in the error message to install kaleido pip install -U kaleido
  4. Repeat step 2

Expected Results
4. Image export should work

Actual Results
4. Get an error about the version of kaleido not being compatible with plotly.

Warning: You have Plotly version 5.24.1, which is not compatible with this version of Kaleido (1.0.0).
This means that static image generation (e.g. `fig.write_image()`) will not work.
Please upgrade Plotly to version 6.1.1 or greater, or downgrade Kaleido to version 0.2.1.

Two things could help here:

  1. In plotly 5.x, update the error message to say pip install -U "kaleido<1.0.0":
  2. In kaleido 1.x, update the error message to say how to upgrade plotly or downgrade kaleido, e.g. pip install -U plotly, or pip install "kaleido<1.0.0"

Metadata

Metadata

Assignees

Labels

P1needed for current cycle featuresomething new

Type

No type

Projects

No projects

Milestone

No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      AltStyle によって変換されたページ (->オリジナル) /