Description: use plotly plot figure and write a static image, get error orca can't find or not executable.
Solution: According to the tips in error report.
- Install orca from the [orca-github]((https://github.com/plotly/orca), choose Method 4: Standalone binaries.
- Add path "*/orca/orca.exe" to sys path.
- run
import plotly
plotly.io.orca.config.executable = r'C:\Users\wangguosong\AppData\Local\Programs\orca\orca.exe'
plotly.io.orca.config.save()
网友评论