-
-
Notifications
You must be signed in to change notification settings - Fork 206
Description
Running a simple script utilizing tkinter, I get the following error:
/data/user/0/org.qpython.qpy3/files/bin/qpython.sh "/storage/emulated/0/Android/data/org.qpython.qpy3/scripts3/test1.py" && exit
/ $ /data/user/0/org.qpython.qpy3/files/bin/qpython.sh "/stor
age/emulated/0/Android/data/org.qpython.qpy3/scripts3/test1.p
y" && exit
Traceback (most recent call last):
File "/storage/emulated/0/Android/data/org.qpython.qpy3/scripts3/test1.py", line 21, in
root = Tk()
^^^^
File "/data/user/0/org.qpython.qpy3/files/lib/python3.12/site-packages/tkinter/init.py", line 2346, in init
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_tkinter.TclError: couldn't connect to display ":0"
/ $
I'm running Android 11 on a Samsung tablet.