Hello everybody,
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 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
âŚ.
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.
Any suggestion?
Thank you very much.