I am unable to export any image from plotly since:
The orca executable is required in order to export figures as static images,
but the executable that was found at ‘C:\Program Files\orca\orca.EXE’
does not seem to be a valid plotly orca executable. Please refer to the end of
this message for details on what went wrong.
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 …
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
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:
If you’re still having trouble, feel free to ask for help on the forums at
Here is the error that was returned by the command
$ C:\Program Files\orca\orca.EXE --help
[Return code: 1]
Orca returned code 1 because I have killed the Orca process using the task manager.
I have this kind of problem only when running the script on a Windows Server 2016 machine trought an asp.net core application.
The same application and scripts works fine on my machine but not on the server.
I’ve installed python, plotly and all the dependencies on the server using pip but I’ve installed Orca using the Windows installation in github a and added the folder that contains orca.exe to the PATH environment variable.
So when my asp.net core application calls the python script on the task manager Python process is created, after a few seconds orca process is created, but it seems to do nothing.
When I kill Orca.exe proccess I recieve the error message above.
But If I lunch the script uscing the command prompt everything works fine.
Thank you very much.