Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kaleido v1.0.0-rc.0 incompatible with Choreographer >=1.0 #301

Open
laser-tester-guy opened this issue Mar 22, 2025 · 0 comments
Open

Kaleido v1.0.0-rc.0 incompatible with Choreographer >=1.0 #301

laser-tester-guy opened this issue Mar 22, 2025 · 0 comments

Comments

@laser-tester-guy
Copy link

Hi, I'm working on upgrading the python version my team uses to 3.12, and for some reason when using 3.12 (as opposed to our prior version, 3.8) plotly started having issues with us having spaces in our windows usernames/filepaths. I noticed that this issue is reported to have been fixed in Kaleido v0.4.0-rc.3 and on, so I I've installed Kaleido v1.0.0-rc.0.

Unfortunately, it appears that the version specifier for Choreographer is out of date. I am getting a silent ImportError from kaleido.scopes.plotly during from choreographer import which_browser on line 10

This ImportError is raised on line 8 of plotly.io._kaleido when trying to import PlotlyScope from kaleido.scopes.plotly

Using the debugger I was able to catch the exception traceback, and from that, it appears that it's due to not being able to import which_browser from Choreographer. Looking at the Choreographer repo, it looks like that they got rid of which_browser as of v1.0

Because of this, plotly fails to import kaleido and then defaults to trying to use orca, which I don't have installed and so errors out.

Just wanted to bring this to your attention

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant