【发布时间】: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.
【问题讨论】:
-
就像错误消息说的那样,
pip无法升级由不是pip的工具进行的安装。使用distutils升级或使用例如virtualenv安装一个单独的版本,该版本独立于您当前项目的任何系统范围安装。