有人知道我为什么会犯这个错误吗?我以正确的方式导入了customtkinter,并且已经重新下载了它,我需要单独导入它吗?我导入customtkinter并得到以下错误:
AttributeError:模块'customtkinter‘没有属性'CTkFont’
在执行这段代码时:
label1 = customtkinter.CTkLabel(master=frame, text="WUA", font=customtkinter.CTkFont(family="Verdana", size=45)) label1.pack(pady = 20, padx=20)
发布于 2022-11-15 14:50:30
我想我在problem...it顶部找到了实用程序wiki页面:"Widget将与5.0.0版本一起使用!“--当前版本为4.6.3。
https://stackoverflow.com/questions/74447475
复制相似问题