“.streamlit” is a hidden folder in the home folder, maybe that is the source of confusion here.
One way to solve this entire problem is to delete a specific file (i.e. config.toml) inside the “.streamlit” folder. Execute the prompt and search manually for the folder:
cd ~/.streamlit
Delete it:
rm config.toml
Good luck!