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: