美文网首页
Plotly write_image error

Plotly write_image error

作者: wanggs66 | 来源:发表于2019-11-04 14:06 被阅读0次

    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()
    

    相关文章

      网友评论

          本文标题:Plotly write_image error

          本文链接:https://www.haomeiwen.com/subject/jofdbctx.html