# Plotly write\_image() doesn't run

**URL:** <https://community.plotly.com/t/plotly-write-image-doesnt-run/63972>\
**Category:** 📊 Plotly Python\
**Created:** [May 11, 2022, 1:48am UTC](https://community.plotly.com/t/plotly-write-image-doesnt-run/63972 "2022-05-11T01:48:15Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![ngaunguyens](https://avatars.discourse-cdn.com/v4/letter/n/da6949/32.png) [@ngaunguyens](https://community.plotly.com/u/ngaunguyens)\
**Post date:** [May 18, 2022, 5:52am UTC](https://community.plotly.com/t/plotly-write-image-doesnt-run/63972/4 "2022-05-18T05:52:20Z")

</div>

Actually,  
The solution should be here:

> [@Static image export hangs using kaleido](https://community.plotly.com/t/static-image-export-hangs-using-kaleido/61519):
>
> I’m following [this](https://plotly.com/python/static-image-export/) tutorial and trying to export a plot to a static image but nothing happens, the script hangs. I believe the problem is on [this](https://github.com/plotly/Kaleido/blob/89f88e612b47302a6df40566e7a4cecc0c17cdb3/repos/kaleido/py/kaleido/scopes/base.py#L192) line that never produces a value. The contents of proc\_args (computed [here](https://github.com/plotly/Kaleido/blob/89f88e612b47302a6df40566e7a4cecc0c17cdb3/repos/kaleido/py/kaleido/scopes/base.py#L176)) are: C:\Users\\<username\>\PycharmProjects\imgexport\venv\lib\site-packages\kaleido\executable\kaleido.cmd plotly --plotlyjs='C:\\Users\\\<username\>\\PycharmProjects\\imgexport\\venv\\lib\\site-packages\\plotly\\package\_data\\plotly.min.js' --mathjax='file:///C:/Users/\<username\>…

---

_[View the full topic](https://community.plotly.com/t/plotly-write-image-doesnt-run/63972)._
