Python 版本过旧:ImportError: cannot import name '_setup_dialog` from 'tkinter.simpledialog' 遇到这个报错,是因为 Python 版本太旧。 以 Python 3.9 为例,最新的 IDLE 3.9 所使用的 _setup_dialog 函数是在 Python 3.9.5 添加的。
Major Python update brings a faster release schedule, performance boosts, handy new string functions, dictionary union operators, and more consistent and stable internal APIs Python 3.9, released ...
The Windows version of the Python interpreter can be run from the command line the same way it’s run in other operating systems, by typing python or python3 at the prompt. But there’s a feature unique ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results