question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

Summary

Type here a clear and concise description of the bug. Aim for 2-3 sentences.

python3.7.3,streamlit-0.49.0

import streamlit as st
st.grid()

bug: AttributeError: module ‘streamlit’ has no attribute ‘grid’

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10

github_iconTop GitHub Comments

1reaction
cbecks1212commented, Dec 13, 2019

I am facing a similar issue: import streamlit as st import pandas as pd

st.title(‘Data Analytics Platform’)

AttributeError: module ‘streamlit’ has no attribute ‘title’

My problem was due to my naming my app streamlit.py. Apparently that caused an issue. After renaming it, the problem went away.

1reaction
cbecks1212commented, Dec 13, 2019

Summary

Type here a clear and concise description of the bug. Aim for 2-3 sentences.

python3.7.3,streamlit-0.49.0

import streamlit as st
st.grid()

bug: AttributeError: module ‘streamlit’ has no attribute ‘grid’

Hi, out of curiosity, what did you name your script?

Read more comments on GitHub >

github_iconTop Results From Across the Web

AttributeError: module 'streamlit' has no attribute 'form'
I am trying to test the default code for forms, and there is appearing the message: AttributeError: module 'streamlit' has no attribute 'form'....
Read more >
python - AttributeError: module 'streamlit' has no attribute ...
I got the solution from the Streamlit community where I was actually using an internal API that Streamlit doesn't necessarily support.
Read more >
module 'streamlit' has no attribute 'tabs' - You.com | The AI ...
Hi, I am trying to test the default code for forms, and there is appearing the message: AttributeError: module 'streamlit' has no attribute...
Read more >
How to Fix: module 'matplotlib' has no attribute 'plot' - Statology
AttributeError : module 'matplotlib' has no attribute 'plot'. This error typically occurs when you use the following code to import ...
Read more >
How to add a download button in Streamlit - ProjectPro
file_name -> The name of the file to be downloaded as (eg: "data.csv"). The name will be generated automatically if none is provided....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found