【问题标题】:Failed to upgrade plotly using pip使用 pip 升级升级失败
【发布时间】:2018-12-17 09:23:42
【问题描述】:

我正在尝试升级 plotly,现在是 2.0.7,我的是 1.3 使用以下

pip install plotly --upgrade

但我遇到了这个错误

Installing collected packages:
 Found existing installation: plotly 1.3.1
Cannot uninstall 'plotly'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

【问题讨论】:

标签: python pip plotly


【解决方案1】:

我解决了这个问题。

首先我使用 pip 卸载

pip uninstall plotly

然后使用 conda

conda uninstall plotly

之后,我使用 pip 安装了最后一个版本

pip install plotly

我检查了 Plotly 版本

import plotly
plotly.__version__

现在是3.0.0

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2022-11-11
    • 2019-03-20
    • 1970-01-01
    • 2021-11-15
    • 1970-01-01
    • 2015-08-06
    • 2019-02-23
    • 1970-01-01
    相关资源
    最近更新 更多