Ronald Oussoren <ronaldousso...@mac.com> added the comment:
How did you install Python? Did you use the installer on Python.org or some other method? A script that demonstrates the problem would be useful as well, I've tried to reproduce the problem in an interactive session in the terminal: >>> from tkinter import filedialog >>> filedialog.askopenfilename() This works for me, I also don't get the warning in the attached image. --- Which version of Tk is used depends on how Python is installed. The Python.org installers ship with a copy of Tk for use by Tkinter. Every version (3.7, 3.8, ...) you install ships with its own copy of Tk and won't use the copy of Tk from a different install. Other distributions of Python (home-brew, anaconda, ...) might arrange thing differently. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41574> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com