[英]Tkinter giving Import Error: DLL load failed: The specified module could not be found
I have a 64 bit machine but because of some compatibility issues with other softwares i'm using 32 bit python(all softwares related to my application are 32 bit). 我有一台64位计算机,但是由于与其他软件的兼容性问题,我正在使用32位python(与我的应用程序相关的所有软件均为32位)。 When I'm trying to run my application It's giving me following error for tkinter:
当我尝试运行我的应用程序时,它给我以下tkinter错误:
ImportError: DLL load failed: The specified module could not be found.
Can anyone suggest me a solution. 谁能建议我一个解决方案。
I solved this error (under Python 2.7 32-bit on Windows 10) by removing the _thinker.pyd
and _tkinter.lib
files from my python_script
folder. 我通过从
python_script
文件夹中删除_thinker.pyd
和_tkinter.lib
文件解决了此错误(在Windows 10上为Python 2.7 32位)。 I later removed the python_script
folder itself. 后来我删除了
python_script
文件夹本身。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.