Red*_*Rum 9 python django plotly plotly-dash
所以我正在尝试与我的 django 应用程序集成,但是我在渲染图表时遇到问题。我使用的是 VSCode,它没有发现依赖冲突。
然而当我开始使用 Pycharm 时。它说我的 Dash 版本是 1.11,它满足 django-plotly-dash,但不满足需要 2.0.0 的 dash_bootstrap_components
我现在已经安装了 Dash 版本 1.10,它与两个应用程序冲突,只是为了显示以下错误消息:
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following de
pendency conflicts.
django-plotly-dash 1.6.6 requires dash<1.21.0,>=1.11, but you have dash 1.10.0 which is incompatible.
dash-bootstrap-components 1.0.3 requires dash>=2.0.0, but you have dash 1.10.0 which is incompatible.
Run Code Online (Sandbox Code Playgroud)
任何帮助表示赞赏
由于 django-plotly-dash 是最新版本,我决定安装 dash 1.20 并通过 dash-bootstrap-components 降级到 0.13.0 ( https://github.com/facultyai/dash-bootstrap-components/releases ?页=2 )
这就像一个魅力......奇怪的是 - Pycharm 有一个导入参考错误,但 Visual Studio 代码没有显示任何错误,我的程序/脚本工作完美。pycharm导入问题可能是由于pycharm中的设置造成的?我不知道
由于 django-plotly-dash 是最新版本,我决定安装 dash 1.20 并通过 dash-bootstrap-components 降级到 0.13.0 ( https://github.com/facultyai/dash-bootstrap-components/releases ?页=2 )
这就像一个魅力......奇怪的是 - Pycharm 有一个导入参考错误,但 Visual Studio 代码没有显示任何错误,我的程序/脚本工作完美。pycharm导入问题可能是由于pycharm中的设置造成的?我不知道
| 归档时间: |
|
| 查看次数: |
61110 次 |
| 最近记录: |