Streamlit python app deployed successfuly on heroku but Error Python may not be configured for tkinter

I wonder what makes you believe that. I am pretty sure streamlit does not need tkinter for anything, including matplotlib and plotly visualizations. It just makes no sense.

Unfortunately, “my app doesn’t run anymore” is not a very useful description of whatever is happening. Have a look at the guidelines for posting and help us to help you.