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

Plotly to_image and savefig just hangs, Windows 10, Pycharm, Python 3.7, latest Kaleido #98

Open
Tooblippe opened this issue Jul 15, 2021 · 15 comments
Labels
bug something broken P3 not needed for current cycle

Comments

@Tooblippe
Copy link

HI,

Tried all the mentioned stuff like mathjax disable etc. Still just hangs.
Has there been any new information on this one?

Regards
Tobie

@alexlach
Copy link

I have a similar issue. Calls to write_image() hang. I'm on Windows 10, VS Code, plotly 5.1, and kaleido 2.1. I'm also behind a corporate firewall/proxy so maybe that's introducing a problem.

@DamianBolwerk
Copy link

DamianBolwerk commented Aug 4, 2021

I had the same problem with write_image(). I tried to install WSL2 manually to fix it but for some reason that did not work. However later i downloaded docker desktop for windows and it gave the option to download WSL2 with it. When i installed WSL2 this way it fixed the problem of write_image hanging. Hope this helps any of you.

Docker desktop for windows can be downloaded from here: https://docs.docker.com/docker-for-windows/install/.

@Tooblippe
Copy link
Author

HI,

Thanks - The only way I could get this to work is by explisitly using Plolty 4.7.0 or 4.7.1 and then I had to revert back to Orca since Kaleido was not available i think then.

This is ok for now since this issue is on my windows PC (dev only) and I dont have the issue on the production server running Linux.

@chrisxfire
Copy link

Hi,

Experiencing the same issue here. Environment:
OS: Windows 10
Python: 3.9.6
Plotly: 5.2.1
Kaleido: 0.2.1

Please let me know if I can provide any further information that may be helpful in digging deeper.

@Tooblippe
Copy link
Author

Tooblippe commented Aug 19, 2021 via email

@chrisxfire
Copy link

Thanks for sharing, @Tooblippe!

@luizhenriquemaia
Copy link

luizhenriquemaia commented Jan 13, 2022

For those how are still facing this problem, you don't need to downgrade plotly, install orca like here and in the first time running write_image function shows this "error ValueError: Image generation requires the psutil package." so i run pip install psutil and the problem was solved. I also had to install wsl2.

i'm using plotly==5.3.1, kaleido==0.2.1, psutil==5.9.0

@AnupamSaraph
Copy link

For those how are still facing this problem, you don't need to downgrade plotly, install orca like here and in the first time running write_image function shows this "error ValueError: Image generation requires the psutil package." so i run pip install psutil and the problem was solved, now i just switch between engines for development and production environment.

i'm using plotly==5.3.1, kaleido==0.2.1, psutil==5.9.0, certifi==2021.10.8

I have plotly==5.8.0 kaleido==0.2.1, psutil==5.9.0 and I still have the same problem
#195

@Claar727
Copy link

I am also still having this problem even after downloading orca.
I have plotly==5.9.0 kaleido==0.2.1, psutil==5.9.0

@SeanNobel
Copy link

Having same issue on windows11 plotly==5.8.0 kaleido==0.2.1 psutil==5.9.4

@abedhammoud
Copy link

Having the same issue on windows 11, kaleido==0.21, plotly==5.11

@lorenzo-w
Copy link

Facing the same issue with plotly 5.12.0 and kaleido 0.2.1 on Windows 11.
Anybody working on this?

@andreas-vester
Copy link

Downgrading kaleido to v0.1.0.post1 solved the issue for me on Windows. On Linux, however, I had to donwgrade kaleido to v0.0.3 to make it work.

I am also wondering if this issue will be worked addressed anytime soon?

@gvwilson
Copy link
Collaborator

Thanks for your interest in Kaleido. We are currently working on an overhaul that might address your issue - we hope to have news in a few weeks and will post an update then. Thanks - @gvwilson

@gvwilson gvwilson self-assigned this Jul 26, 2024
@abedhammoud
Copy link

abedhammoud commented Jul 26, 2024 via email

@gvwilson gvwilson removed their assignment Aug 3, 2024
@gvwilson gvwilson added bug something broken P3 not needed for current cycle labels Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken P3 not needed for current cycle
Projects
None yet
Development

No branches or pull requests