python3.8導入tkinter報錯If this fails your Python may not be configured for Tk

故障現象:improt tkinter報錯If this fails your Python may not be configured for Tk python版本:python3.8.6 操作系統:win10 研究了好久,應該是安裝python時,這個tcl/tk安裝不正確或者文件出錯導致的。這項下面註釋很清楚tcl/tk是tkinter的開發環境。 解決方案: 退出所有正在運行的pytho
相關文章
相關標籤/搜索