ORCA Error from Windows IIS

Hello,

When using Windows IIS to deploy my Flask app using Plotly with Orca I receive the following error. This error does not happen when running the program using the VS Code editor via werkzeug. I have no idea what might be wrong or how to fix it and I do not know how to save the plotly chart to image any other way or how to access the chart via the matplotlib and save to BytesIO etc. All help appreciated!

Error occurred:

Traceback (most recent call last):
File β€œ.\app\report\views.py”, line 2227, in generate_technical_availability_report
pio.write_image(fig[β€˜fig’], os.path.join(os.path.dirname(file), β€˜static\images{}.png’).format(fig[β€˜title’]))
File β€œc:\python36\lib\site-packages\plotly\io_orca.py”, line 1513, in write_image
validate=validate)
File β€œc:\python36\lib\site-packages\plotly\io_orca.py”, line 1295, in to_image
ensure_server()
File β€œc:\python36\lib\site-packages\plotly\io_orca.py”, line 1202, in ensure_server
stdout=DEVNULL)
File β€œc:\python36\lib\subprocess.py”, line 665, in init
errread, errwrite) = self._get_handles(stdin, stdout, stderr)
File β€œc:\python36\lib\subprocess.py”, line 919, in _get_handles
errwrite = _winapi.GetStdHandle(_winapi.STD_ERROR_HANDLE)
OSError: [WinError 6] The handle is invalid

I have the exact same issue. Did you find a solution?

Thanks!

Do I need to install Python to make Orca working? I am running the following line:
I am running the following line: C:\WINDOWS\system32>orca graph β€œ{ β€œdata”: [{β€œy”: [1,2,1]}] }” -o fig.png and nothing is happening. Any idea?

Thanks