Any ideas on how I can solve this error? I do have “tk” as one of my packages in my conda package list.
Thanks for posting!
I think it should be “tkinter” rather than “_tkinter”
Thanks Caroline for your response. I finally got it to work!!
The solution which worked for me was to create a new Conda environment (in terminal window) → install tk library → and then I had to choose python 10 as the version while deploying app in streamlit. (earlier I was choosing python 9)
Glad it’s working! Thanks for sharing the solution