我收到下面的错误消息。
如果您还没有安装orca,可以使用conda这样做,如下所示:
$ conda install -c plotly plotly-orca
或者,请参阅https://github.com/plotly/orca的orca项目自述文件中的其他安装方法。
我试过:!pip install plotly-orca
,但这会引发一个错误。
收集策略-orca找不到满足要求的版本(来自版本:),没有找到匹配的发行版。
我想做的是:
发布于 2019-04-08 05:49:46
将图形保存为html到gdrive
# Connecting to GDrive
from google.colab import drive
drive.mount('/content/gdrive')
from plotly.offline import iplot, plot, download_plotlyjs, init_notebook_mode
import plotly.graph_objs as go
Tickets_plot = go.Figure( ..... whatever is normally for your Plotly graph ....)
# this saves it to Google Drive ...you can put it in any folder you like
plot(Tickets_plot, filename="/content/drive/test.html", auto_open=False)
# this saves it within the notebook folder locallhy
plot(Tickets_plot, filename="/content/drive/test.html", auto_open=False)
发布于 2020-10-02 07:47:59
我用这个:
!pip install plotly==4.4.1
!wget https://github.com/plotly/orca/releases/download/v1.2.1/orca-1.2.1-x86_64.AppImage -O /usr/local/bin/orca
!chmod +x /usr/local/bin/orca
https://stackoverflow.com/questions/55109736
复制相似问题