toml.decoder.TomlDecodeError: Empty value is invalid (line 3 column 1 char 25)

Summary

For the past 3-4 days, I am unable to run any streamlit app on my laptop and an error keeps popping up. I have tested with the $ streamlit hello command too and even that doesn’t seem to work. This is the error:

toml.decoder.TomlDecodeError: Empty value is invalid (line 3 column 1 char 25)

I am using conda + Python 3.10 and streamlit 1.20.0

Hey @Siddhesh-Agarwal,

Thanks for sharing your question.

If you delete your .streamlit folder (save the contents somewhere outside of your app folder for safekeeping, are you able to run your app then? That seemed to solve the issue in this thread.

You can delete the .streamlit folder by typing rm -rf .streamlit in the command line.

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