Black Lives Matter. Please consider donating to Black Girls Code today.

Problem outputting image

I am new to plotly and python.

I am trying to output a high-resolution image. According to this page: https://plotly.com/python/static-image-export/ I should install “kaleido” as the now recommended approach. The doc says this is opposed to the legacy “orca”.

I installed and created a fig based on plotly express.

I then executed the following per the docs:

import os

if not os.path.exists(“images”):
os.mkdir(“images”)

fig.write_image(“images/fig1.png”)

I get a lengthy error that contains the notice
:

ValueError:
The orca executable is required to export figures as static images,
but it could not be found on the system path.

I am not sure what that means. Is it not using the “kaleido” approach? Do I still need orca?

Thanks,