Problem outputting image

I am new to plotly and python.

I am trying to output a high-resolution image. According to this page: 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”):


I get a lengthy error that contains the notice

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?


If have installed kaleido within your pip / conda Python environment, the method write_image should use kaleido by default.

Try pip freeze to see if kaleido is installed within your environment.