I did not understand what you mean by the version of config.toml
.
Each time i try to create the file by typing this statement streamlit config show > ~/.streamlit/config.toml
than try to run the app the system crash and display the error that i showed above.
Based on this post everyone has delete the config file and everything work again.
How to fix this because i am stuck in the old version of streamlit. v 0.84