[英]Why I cannot use upgraded plotly in Google Colab?
I just cannot use the newest version of plotly in the GoogleColab even though I have upgraded.即使我已经升级,我也无法在 GoogleColab 中使用最新版本的 plotly。
! pip install plotly --upgrade
import plotly
plotly.__version__
I tried this and got results like that:我尝试了这个并得到了这样的结果:
Requirement already up-to-date: plotly in /usr/local/lib/python3.6/dist-packages (4.13.0) Requirement already satisfied, skipping upgrade: retrying>=1.3.3 in /usr/local/lib/python3.6/dist-packages (from plotly) (1.3.3) Requirement already satisfied, skipping upgrade: six in /usr/local/lib/python3.6/dist-packages (from plotly) (1.15.0)要求已经是最新的:/usr/local/lib/python3.6/dist-packages (4.13.0) 中的 plotly 要求已经满足,跳过升级:重试 >=1.3.3 在 /usr/local/lib/ python3.6/dist-packages(来自 plotly)(1.3.3)要求已经满足,跳过升级:/usr/local/lib/python3.6/dist-packages 中的六个(来自 plotly)(1.15.0)
4.4.1 4.4.1
I tried to use plotly in Jupyter Notebook and it worked, so I must have successfully install the newest version, but how?我尝试在 Jupyter Notebook 中使用 plotly 并且它有效,所以我必须成功安装最新版本,但是如何? Why it's not in the Google Colab?为什么它不在 Google Colab 中? I am so confused that why it still shows 4.4.1 not 4.13.0.我很困惑,为什么它仍然显示 4.4.1 而不是 4.13.0。
Anyone has any idea?有人有什么想法吗?
usr/local/lib/python3.6/dist-packages (4.13.0)
This not from colab. usr/local/lib/python3.6/dist-packages (4.13.0)
这不是来自 colab。
If you run this pip install plotly --upgrade
in colab.如果您运行此pip install plotly --upgrade
在 colab。 It will update the colab's version.它将更新 colab 的版本。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.