My streamlit app run well localy (windows anaconda python 9.3.13 and is successfully deployed on heroku but failed to run online because of this error : File "/app/.heroku/python/lib/python3.9/tkinter/init.py", line 37, in import _tkinter # If this fails your Python may not be configured for Tk
I read a lot of solutions here and test them especially change python version, reinstall tkinter via anaconda, on windows without wsl I don't know how to install or reinstall tkinter with apt-get or brew ... On streamlit.share I have got the same issue and solve it with a packages.txt file with just this line libtk8.6 ... it works fine but my app run fine but I can share it because this service need to subscribe an account and it's not possible for the people who I want to share the app...
I try to add libtk8.6 in the runtime.txt file needed by heroku but it doesn't work ...
Thanks to help me ... if somebody had the same issue.