[issue41574] Python[11231:143796] WARNING: <NSOpenPanel: 0x7f90523a7ca0> running implicitly; please run panels using NSSavePanel rather than NSApplication.

Ronald Oussoren report at bugs.python.org
Tue Aug 18 07:43:36 EDT 2020


Ronald Oussoren <ronaldoussoren at 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 <report at bugs.python.org>
<https://bugs.python.org/issue41574>
_______________________________________


More information about the Python-bugs-list mailing list