🚀 Gen 5 of the leading AI app deployment platform launches October 6. Click for the livestream.

Identifying Orca executable

Hi,

Very beginners question but I am getting this error using plotly:


Traceback (most recent call last):
File “C:/Users/924108/DARTS/Eclipse_Test_SEP/run_eclipse.py”, line 48, in
m.plot_temp_layer_map(map_data=X, k=l, name=“Temperature”)
File “C:\Users\924108\DARTS\Eclipse_Test_SEP\eclipse_model.py”, line 169, in plot_temp_layer_map
pio.write_image(fig, ‘fig1.svg’)
File “C:\Users\924108\AppData\Local\Continuum\anaconda3\lib\site-packages\plotly\io_orca.py”, line 1485, in write_image
validate=validate)
File “C:\Users\924108\AppData\Local\Continuum\anaconda3\lib\site-packages\plotly\io_orca.py”, line 1267, in to_image
ensure_server()
File “C:\Users\924108\AppData\Local\Continuum\anaconda3\lib\site-packages\plotly\io_orca.py”, line 1137, in ensure_server
validate_executable()
File “C:\Users\924108\AppData\Local\Continuum\anaconda3\lib\site-packages\plotly\io_orca.py”, line 919, in validate_executable
instructions=install_location_instructions))
ValueError:
The orca executable is required to export figures as static images,
but it could not be found on the system path.

Searched for executable ‘orca’ on the following path:
C:\Users\924108\AppData\Local\Continuum\anaconda3\DLLs
C:\Users\924108\AppData\Local\Continuum\anaconda3\Library\bin
C:\Program Files (x86)\Common Files\Oracle\Java\javapath
C:\WINDOWS\system32
C:\WINDOWS
C:\WINDOWS\System32\Wbem
C:\WINDOWS\System32\WindowsPowerShell\v1.0
C:\Users\924108\AppData\Local\Microsoft\WindowsApps

If you haven’t installed orca yet, you can do so using conda as follows:

$ conda install -c plotly plotly-orca

Alternatively, see other installation methods in the orca project README at
https://github.com/plotly/orca.

After installation is complete, no further configuration should be needed.

If you have installed orca, then for some reason plotly.py was unable to
locate it. In this case, set the plotly.io.orca.config.executable
property to the full path of your orca executable. For example:

>>> plotly.io.orca.config.executable = '/path/to/orca'

After updating this executable property, try the export operation again.
If it is successful then you may want to save this configuration so that it
will be applied automatically in future sessions. You can do this as follows:

>>> plotly.io.orca.config.save() 

If you’re still having trouble, feel free to ask for help on the forums at
https://community.plotly.com/c/api/python


Can someone identify the right executable in this list? I tried several in the anaconda prompt but it is saying it is not the right executable.

Thanks!