解决windows版本python下没有tkinter库问题

假设您在Windows上并且还安装了常规Python发行版(相同版本的嵌入式发行版),要在嵌入式发行版中安装Tkinter,您可以从常规Python发行版中复制以下文件:

  1. tcl folder to embedded_distribution_folder\ (root folder of the embedded distribution)

  2. tkinter folder (which is under Lib) either to embedded_distribution_folder\Lib or to embedded_distribution_folder\

  3. files _tkinter.pyd tcl86t.dll tk86t.dll (which are under DLLs) either to embedded_distribution_folder\DLLs or to embedded_distribution_folder\

---->原文链接

猜你喜欢

转载自blog.csdn.net/Ang_ie/article/details/82057312