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

Orca executable could not be found

i am trying to execute this code:

gaugefig = go.Figure(go.Indicator(
mode=“gauge+number”,
value=count,
gauge={‘axis’: {‘range’: [1, count]}},
domain={‘x’: [0, 1], ‘y’: [0, 1]},
title={‘text’: “Number of students participated”, ‘align’: ‘center’, ‘font’: {‘size’: 38}}))
gaugefig2=plotly.io.to_image(gaugefig,format=‘png’)
gaugefig2.show()

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

but i have:

  1. installed orca
    2.run this in command prompt:
    ‘plotly.io.orca.config.executable=r’C:\Users\ezhilan\AppData\Roaming\Python\Python38\site-packages\orca’
    3.then i tried to run my code. but i am still getting this error