Traceback (most recent call last):
File "tkinterdnd2\TkinterDnD.py", line 53, in _require
_tkinter.TclError: can't find package tkdnd
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "ccc.py", line 148, in <module>
File "tkinterdnd2\TkinterDnD.py", line 285, in __init__
File "tkinterdnd2\TkinterDnD.py", line 55, in _require
RuntimeError: Unable to load tkdnd library.
我用的命令是 pyinstaller --onefile --windowed ccc.py
这个库应该是已经安装上了
Requirement already satisfied: tkinterdnd2 in d:\python39\lib\site-packages (0.3.0)