Why i'm getting this error my application is running fine in my pc

File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/scriptrunner/script_runner.py", line 557, in _run_script
    exec(code, module.__dict__)File "disease_prediction.py", line 1, in <module>
    from tkinter import *File "/usr/local/lib/python3.9/tkinter/__init__.py", line 37, in <module>
    import _tkinter # If this fails your Python may not be configured for Tk

Did you forget to paste the actual error message?

Anyway, I don’t think you can install tkinter in streamlit cloud. That is probably why you are getting that error.

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