when trying to deploy my app I get the following error:
File “/usr/local/lib/python3.7/tkinter/init.py”, line 36, in
import _tkinter # If this fails your Python may not be configured for Tk
ImportError: libtk8.6.so: cannot open shared object file: No such file or directory
my research resulted in python3-tk needs to be installed on the VM/container.
Using pip modules tk and/or Everything-Tkinter gave no success.
I guess that it is a core library which is not delivered via requirements.txt.
/usr/lib64/libtk8.6.so is part of tk. So tk is needed on the cloud VM.
I see no possibility to influene the os packages inside the VM. How
to achieve that?
Hey I am trying to deploy an app that works ok on my windows machine and I am getting the same error. I need to put a requirements.txt next to my app.py file with something in it? I’m not sure how to do this and am confused how the app that works fine locally doesn’t on streamlit cloud…