AttributeError: module 'streamlit' has no attribute 'beta_columns'

Hi,
I was trying to lay out the dropdown into columns but when I use the function st.beta_columns() I get an attribute error stating module ‘streamlit’ has no attribute ‘beta_columns’. Can someone help me with this issue.

streamlit version : 0.73.0
python version : 3.7.9

Based on your print screen, it looks like you’re running on python 3.8 right? Click on the hamburger menu and then select about. which version of streamlit are you getting?

hello,do you have any solution for that? plese, i have the same question。

python : Python 3.8.5
Streamlit : Streamlit v0.62.1
module ‘streamlit’ has no attribute ‘beta_columns’

I would upgrade your streamlit version, seems to be quite outdated.

Hi @Fuqing_Yuan, welcome to the Streamlit community! Layout came out in version 0.68, so you’ll need to update your Streamlit installation. We’re up to almost v0.80.0 at this point, so there’s a lot you’re missing out on!

Best,
Randy

Hi, thank you.

i have tried with pip install streamlit==0.79.0 for updating.
but, it said :

Using cached pyarrow-0.11.0.tar.gz (602 kB)
Installing build dependencies … done
Getting requirements to build wheel … done
Preparing wheel metadata … error

OSError: ‘git’ was not found

do you have any idea, please? and i think you have reply one time before for athoner guy. i have tried, it did not work

Hello,

i have fixed it just by updating python version. And you know, in the before, the background is write, now it’s black automatically. you know where i can find something to rechange to the write?
thanks a lot