Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example not working anymore #7

Open
biscuitdelicious opened this issue May 24, 2023 · 3 comments
Open

Example not working anymore #7

biscuitdelicious opened this issue May 24, 2023 · 3 comments

Comments

@biscuitdelicious
Copy link

Hi there,

The example given on the main page doesn't work anymore. Python 3.11

Any reasons why? Installed right the module..

@rdbende
Copy link
Owner

rdbende commented May 24, 2023

It works just fine for me with Python 3.11.2 on Debian Sid with KDE Plasma 5.27.2

Can you share details about your system and describe the error you get?

@biscuitdelicious
Copy link
Author

Macbook with M1 pro chip.
Python 3.11

_tkinter.TclError: dlopen(/Users/~/Desktop/Python/Programming/CV - Projects/Watermark App/venv/lib/python3.11/site-packages/tkinterDnD/mac/libtkdnd2.9.2.dylib, 0x0006): tried: '/Users/~/Desktop/Python/Programming/CV - Projects/Watermark App/venv/lib/python3.11/site-packages/tkinterDnD/mac/libtkdnd2.9.2.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/~/Desktop/Python/Programming/CV - Projects/Watermark App/venv/lib/python3.11/site-packages/tkinterDnD/mac/libtkdnd2.9.2.dylib' (no such file), '/Users/~/Desktop/Python/Programming/CV - Projects/Watermark App/venv/lib/python3.11/site-packages/tkinterDnD/mac/libtkdnd2.9.2.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))

What I understand is: there is an incompatibility between the architecture of the library file and the python interpreter: The library file may have been compiled for a different architecture (arm64) than the one used by the python interpreter (x86_64).

@rdbende
Copy link
Owner

rdbende commented May 25, 2023

Ok, I see. TkinterDnD doesn't (yet) have binaries compiled for arm platforms. There was a project called tkinterdnd2-universal, that had binaries for mac M1, but both the repo and the Github user seems to be deleted now :((

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants