Skip to content

Get 'incompatible stubs mechanism' error running tkinterdnd2 on Monterey (MacOS 12.7) #73

@eric-gilbertson

Description

@eric-gilbertson

Any tips on how to get TkInterDnD2 to work with Monterey (12.7.6)? It was working on Catalina but it 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: interpreter uses an incompatible stubs mechanism

I get this exception both with the prebuilt version of libtkdnd.dylib for Monterey and with a version I built on the target machine with cmake. I suspected that it might be a mixup between Tcl versions but my box has only Tcl8.5 on it, so I don't think that is the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions