我是python编程中的极端菜鸟,所以我决定学习tkinter。但是我不能在May Mac上安装tkinter。我不知道是什么问题,有人可以帮我吗?
pip3 install tkinter
ERROR: Could not find a version that satisfies the requirement tkinter (from versions: none)
ERROR: No matching distribution found for tkinter
这是最终的结果怎么办? `
答案 0 :(得分:0)
您应该通过brew安装Tkinter:
brew install tcl-tk
brew uninstall python3
brew install python3 --with-tcl-tk