# Plotly.io.write\_image error; Orca executable not found on heroku deployment

**URL:** <https://community.plotly.com/t/plotly-io-write-image-error-orca-executable-not-found-on-heroku-deployment/25345>\
**Category:** 📊 Plotly Python\
**Created:** [July 2, 2019, 9:24pm UTC](https://community.plotly.com/t/plotly-io-write-image-error-orca-executable-not-found-on-heroku-deployment/25345 "2019-07-02T21:24:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cookbob](https://avatars.discourse-cdn.com/v4/letter/c/2acd7d/32.png) [@cookbob](https://community.plotly.com/u/cookbob)\
**Post date:** [July 2, 2019, 9:24pm UTC](https://community.plotly.com/t/plotly-io-write-image-error-orca-executable-not-found-on-heroku-deployment/25345/1 "2019-07-02T21:24:44Z")

</div>

After following the instructions on orca’s automatic error message (1. re-install orca, 2. re-set path to orca executable), the write\_image function still triggers an error in my app deployment.  
The function works in a local testing environment, but when the app is deployed via heroku, the path to the orca executable is not found.  
I have tried all orca executables that exist on my system, and none have solved the issue.  
I’m thinking this may be a requirements issue, but including plotly-orca did not solve it either.  
I have followed other conversations on this forum that are related (particularly this one: [Static image generation only possible with `orca`?](https://community.plotly.com/t/static-image-generation-only-possible-with-orca/14717/4)), and none seem to have the solution.

Any advice on how to handle this error while deploying on a remote server?  
Any workarounds that don’t involve orca and plotly.io.write\_image would be welcome as well, although after extensive search I’ve yet to find any.

---

<div class="post-metadata">

**Author:** ![camdenb](https://avatars.discourse-cdn.com/v4/letter/c/46a35a/32.png) [@camdenb](https://community.plotly.com/u/camdenb)\
**Post date:** [June 10, 2020, 7:40pm UTC](https://community.plotly.com/t/plotly-io-write-image-error-orca-executable-not-found-on-heroku-deployment/25345/2 "2020-06-10T19:40:47Z")

</div>

@cookbob I have the same issue. Were you able to find a workaround?
