Save image offline

Hi,

I m trying to save plotly image to then assemble them in a pdf report.
I understand the plotly 4.00 version made this possible offline.
But Orca gives me the couldn’t not find the executable reply (see below):
Which is weird because the orca.exe folder is listed in PATH.

I work on Windows in a company with a firewall so i need 100% full offline program… ( I assume when forum talk about orca server this is still fully local right ?)
Not sure what I’m missing.
Is there a simpler way to save an image ?


ValueError Traceback (most recent call last)
in ()

~\AppData\Local\Continuum\anaconda3\lib\site-packages\plotly\io_orca.py in to_image(fig, format, width, height, scale, validate)
1480 # Make sure orca sever is running
1481 # -------------------------------
-> 1482 ensure_server()
1483
1484 # Handle defaults

~\AppData\Local\Continuum\anaconda3\lib\site-packages\plotly\io_orca.py in ensure_server()
1342 # Validate orca executable
1343 if status.state == “unvalidated”:
-> 1344 validate_executable()
1345
1346 # Acquire lock to make sure that we keep the properties of orca_state

~\AppData\Local\Continuum\anaconda3\lib\site-packages\plotly\io_orca.py in validate_executable()
1041 executable=config.executable,
1042 formatted_path=formatted_path,
-> 1043 instructions=install_location_instructions,
1044 )
1045 )

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 ‘C:\Users\P885880\AppData\Local\Programs\orca’ on the following path:

C:\Users\P885880\AppData\Local\Programs\orca
C:\Program Files (x86)\Orca\

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.plot.ly/c/api/python

three reasons why you should buy plotly pro: support open source, get great support, host your plots and dashboards online