因此,我正试图与我的django应用程序进行巧妙的集成,但是我在绘制图表时遇到了问题。我使用的是VSCode,它没有处理依赖冲突。
然而,当我开始使用Pycharm时。它说我的Dash是1.11版本,它满足django-巧妙地-破折号,但不满足dash_bootstrap_components,它需要2.0.0
我现在已经安装了与这两个应用程序冲突的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.任何帮助都是非常感谢的。
回答
由于django-巧妙地-破折号是最新版本,我已经决定安装破折号1.20和降级由破折号-引导-组件为0.13.0 (https://github.com/facultyai/dash-bootstrap-components/releases?page=2)
这就像一种魅力。奇怪的是,Pycharm对导入有一个引用错误,但是visual studio代码没有显示任何错误,而且我的程序/脚本工作得很好。吡咯烷酮的进口问题可能是由于一个设置在吡喃?idk
发布于 2022-06-14 21:37:03
由于django-巧妙地-破折号是最新版本,我已经决定安装破折号1.20和降级由破折号-引导-组件为0.13.0 (https://github.com/facultyai/dash-bootstrap-components/releases?page=2)
这就像一种魅力。奇怪的是,Pycharm对导入有一个引用错误,但是visual studio代码没有显示任何错误,而且我的程序/脚本工作得很好。吡咯烷酮的进口问题可能是由于一个设置在吡喃?idk
发布于 2022-04-22 05:00:39
解决这个问题的最简单方法是安装大于1.11和小于1.21.0的兼容的破折号。
解决方案:
py -m pip install dash==1.20.0 https://stackoverflow.com/questions/71205417
复制相似问题