Error displaying data elements,such as table,dataframe,data_editor

It works well on my win10 develop environment.But when I deploy to redhat7.9,error occurred as follows:

TypeError: r.at is not a function
at new uo (xxxxxx:8501/static/js/main.d0867666.js:2:713654)
at wa (xxxxxx:8501/static/js/main.d0867666.js:2:811226)
at new Ka (xxxxxx:8501/static/js/main.d0867666.js:2:813249)
at Ge.get quiverElement [as quiverElement] (xxxxxx:8501/static/js/main.d0867666.js:2:4135218)
at ki (xxxxxx:8501/static/js/main.d0867666.js:2:4207803)
at wa (xxxxxx:8501/static/js/main.d0867666.js:2:2230016)
at wl (xxxxxx:8501/static/js/main.d0867666.js:2:2287129)
at zc (xxxxxx:8501/static/js/main.d0867666.js:2:2276235)
at Oc (xxxxxx:8501/static/js/main.d0867666.js:2:2276163)
at Mc (xxxxxx:8501/static/js/main.d0867666.js:2:2276026)

I found the minimal code is :

import streamlit as st

data = [1,2,3]
st.write(data)

#GOT ERROR
st.table(data)
st.dataframe(data)
st.data_editor(data)

Solved.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.