Can't import streamlit anymore!

Do you have a config file at any of these locations?

  • [your project folder]/.streamlit/config.toml
  • ~/.streamlit/config.toml

If so, my guess is thereโ€™s a syntax error in one of those. Probably something that looks like foo= (with nothing on the right side). If you see something like that, please remove it from the config file and try running Streamlit again.

(And in the meantime, Iโ€™ve opened a bug on our end since we should throw a clearer error message in that case!)

1 Like