python - 在 jupyter notebook 中使用 4.4.1 版本进行 plotly 升级
问题描述
在 jupyter notebook 中使用 4.4.1 版本升级。plotly 4.4.1 安装完成并成功,但在最新版本的 jupyter notebooks 中没有体现。
在 plotly 安装之前:当前的 plotly 版本是 4.2.1
import sys;
print(sys.version)
import plotly
print(plotly.__version__)
3.5.4 |Anaconda custom (64-bit)| (default, Oct 13 2017, 11:22:58)
[GCC 7.2.0]
4.2.1
安装
!pip install plotly==4.4.1 --trusted-host pypi.org --trusted-host files.pythonhosted.org
Collecting plotly==4.4.1
Downloading https://files.pythonhosted.org/packages/8e/ce/6ea5683c47b682bffad39ad41d10913141b560b1b875a90dbc6abe3f4fa9/plotly-4.4.1-py2.py3-none-any.whl (7.3MB)
|████████████████████████████████| 7.3MB 5.7MB/s eta 0:00:01 |███ | 686kB 2.3MB/s eta 0:00:03 |██████▉ | 1.6MB 2.3MB/s eta 0:00:03 |███████████████▏ | 3.5MB 2.3MB/s eta 0:00:02 |████████████████████████▌ | 5.6MB 2.3MB/s eta 0:00:01
Requirement already satisfied: six in /home/nbuser/anaconda3_420/lib/python3.5/site-packages (from plotly==4.4.1) (1.11.0)
Requirement already satisfied: retrying>=1.3.3 in /home/nbuser/anaconda3_420/lib/python3.5/site-packages (from plotly==4.4.1) (1.3.3)
Installing collected packages: plotly
Found existing installation: plotly 4.8.1
Uninstalling plotly-4.8.1:
Successfully uninstalled plotly-4.8.1
Successfully installed plotly-4.4.1
WARNING: You are using pip version 19.3.1; however, version 20.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
在 jupyter notebook 中安装 4.4.1 后,我只看到 4.2.1。
import sys;
print(sys.version)
import plotly
print(plotly.__version__)
3.5.4 |Anaconda custom (64-bit)| (default, Oct 13 2017, 11:22:58)
[GCC 7.2.0]
4.2.1
如何在 jupyter 笔记本中反映 4.4.1,以便我可以在 4.4.1 中大量看到 sunbrust。
解决方案
推荐阅读
- ios - 无法将 Flurry 添加到我的 Swift 项目中
- php - 在 Woocommerce 单品标题后添加特定产品属性
- windows - Powershell Jobs - 在另一个并行作业中监控正在运行的作业
- ruby-on-rails - Rails 应用程序中的回滚事务错误
- visual-studio-2017 - 在项目创建或连接服务中添加身份验证
- mongodb - 更改 ECS Instance 上 mongodb 的默认端口
- r - 创建一个将其参数传递给 Surv 函数(或任何其他函数)的函数
- python - 如何在列表中插入条件语句?
- java - Spring Integration:文件读取拆分和消息过滤
- php - 类范围内可访问的静态数组,试图推送到它,但总是返回空