79528263

Date: 2025-03-22 23:37:32
Score: 1.5
Natty:
Report link

Any tips on how to get TkInterDnD2 to work with Monterey (12.7.6)? Using the above tips, I got this working on Catalina but I stopped working after upgrading to Monterey. With it I get the following startup exception:

(venv) 657: python3 ghdrag3.py
Traceback (most recent call last):
  File "/Users/barbara/src/ytdownloader/venv/lib/python3.13/site-packages/tkinterdnd2/TkinterDnD.py", line 69, in _require
    TkdndVersion = tkroot.tk.call('package', 'require', 'tkdnd')
_tkinter.TclError: This interpreter does not support stubs-enabled extensions.

The strange thing is that the Tcl libraries under /System/Library/Tcl in Monterey are the same versions as those in Catalina. Furthermore I thought that Tclsc has had stubs support since 8.1, so I don't think that this error message is accurate.

Reasons:
  • Blacklisted phrase (1): Any tips
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Eric Gilbertson