简体   繁体   English

在 python 上安装 streamlit 库后,出现属性错误:模块“plotly.graph_objs.layout.template.data”没有属性“Icicle”

[英]After installing streamlit library on python, I am getting Attribute error : module 'plotly.graph_objs.layout.template.data' has no attribute 'Icicle'

After installing streamlit library successfully on python but after running it,在 python 上成功安装 streamlit 库但运行后,

I am getting Attribute error: module 'plotly.graph_objs.layout.template.data' has no attribute 'Icicle'我收到属性错误:模块“plotly.graph_objs.layout.template.data”没有属性“Icicle”

File "/home/appuser/venv/bin/streamlit", line 5, in <module>
    from streamlit.web.cli import main

  File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/__init__.py", line 55, in <module>

from streamlit.delta_generator import DeltaGenerator as _DeltaGenerator

  File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/delta_generator.py", line 75, in <module>

    from streamlit.elements.plotly_chart import PlotlyMixin

  File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/elements/plotly_chart.py", line 41, in <module>

    import streamlit.elements.lib.streamlit_plotly_theme

  File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/elements/lib/streamlit_plotly_theme.py", line 116, in <module>

    go.layout.template.data.Icicle(textfont=go.icicle.Textfont(color="white"))

  File "/home/appuser/venv/lib/python3.9/site-packages/_plotly_utils/importers.py", line 39, in __getattr__

    raise AttributeError(

AttributeError: module 'plotly.graph_objs.layout.template.data' has no attribute 'Icicle'

Please tell how to git rid of this error请告诉 git 如何摆脱这个错误

I had the same problem.我有同样的问题。 please uninstall it and install streamlit 1.14.0请卸载它并安装streamlit 1.14.0

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 AttributeError:模块“ plotly.graph_objs”没有属性“ pie” - AttributeError: module 'plotly.graph_objs' has no attribute 'pie' 模块&#39;plotly.graph_objs&#39;没有属性&#39;Choroplethmapbox&#39; - module 'plotly.graph_objs' has no attribute 'Choroplethmapbox' 获取 FigureWidget 的 plotly.graph_objs 属性错误 - Getting plotly.graph_objs attribute error for FigureWidget 模块“gridfs”没有属性“get”我在 python 中收到此错误 - module 'gridfs' has no attribute 'get' I am getting this error in python 使用 Plotly 最新版本并出现错误:模块 &#39;plotly.validators.layout&#39; 没有属性 &#39;ExtendtreemapcolorsValidator&#39; - Using Plotly latest version and getting error : module 'plotly.validators.layout' has no attribute 'ExtendtreemapcolorsValidator' 在python模块对流层中,我得到一个错误“ AttributeError:&#39;模块&#39;对象没有属性&#39;EBSBlockDeviceMapping&#39;” - In python module troposphere I am getting an error “AttributeError: 'module' object has no attribute 'EBSBlockDeviceMapping'” 为什么我会出现情节表达属性错误? (AttributeError: &#39;Figure&#39; 对象没有属性 &#39;add_hline&#39; - Why am I getting plotly express attribute error? (AttributeError: 'Figure' object has no attribute 'add_hline' 为什么我在添加“as”时得到模块没有属性错误 - Why Am I getting Module has no attribute error when adding "as" plotly.graph_objs.layout.Template 构造函数的第一个参数必须是字典或 plotly.graph_objs.layout.Template 的实例 - The first argument to the plotly.graph_objs.layout.Template constructor must be a dict or an instance of plotly.graph_objs.layout.Template 我收到属性错误为'int' object has no attribute 'to' - I am getting Attribute error as 'int' object has no attribute 'to'
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM