Plotly write_image() doesn't run

Hi there, I run an example similar to this link Static image export in Python (plotly.com)

For some reason there is image saved/created running the same exact code:

โ€˜โ€™โ€™
fig.write_image(โ€œimages/fig1.pngโ€)
โ€˜โ€™โ€™

My py script still left running but noting created other than the โ€œimagesโ€ folder.

Does anyone has this problem?

Hi @ngaunguyens

Itโ€™s hard to say why the image is not been created, can you share a reproducible example?

For some reason it create the image that day I ran the function. It works now after I reboot my computer.
This was a very bizzair encounter. Thanks for your help!

Actually,
The solution should be here: