Streamlit app deployment error

Any ideas on how I can solve this error? I do have “tk” as one of my packages in my conda package list.

Hi @JobanjeetSingh10,

Thanks for posting!

I think it should be “tkinter” rather than “_tkinter”

Caroline :balloon:

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)

1 Like

Glad it’s working! Thanks for sharing the solution

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