Note: redis-py 5.0 is the last version of redis-py that supports Python 3.7, as it has reached end of life. redis-py 5.1 supports Python 3.8+. Note: redis-py 6.1.0 is the last version of redis-py that ...
Python 版本过旧:ImportError: cannot import name '_setup_dialog` from 'tkinter.simpledialog' 遇到这个报错,是因为 Python 版本太旧。 以 Python 3.9 为例,最新的 IDLE 3.9 所使用的 _setup_dialog 函数是在 Python 3.9.5 添加的。