[英]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.