简体   繁体   English

Tkinter给出导入错误:DLL加载失败:找不到指定的模块

[英]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.

相关问题 “import torch”给出错误“from torch._C import *, DLL load failed: The specified module could not be found” - "import torch" giving error "from torch._C import *, DLL load failed: The specified module could not be found" 导入错误:DLL 加载失败。 指定的模块无法找到 - Import Error: DLL load failed. The specified module could not be found Pyinstaller:导入错误:DLL 加载失败:找不到指定的模块 - Pyinstaller: Import Error: DLL load failed: The specified module could not be found 无法导入 tflite-support 包。 接收错误“DLL 加载失败:找不到指定的模块” - Unable to Import tflite-support package. Receiving error "DLL load failed: The specified module could not be found" ver.2 PyGreSQL ERROR: from _pg import * ImportError: DLL load failed: The specified module could not be found - ver.2 PyGreSQL ERROR: from _pg import * ImportError: DLL load failed: The specified module could not be found 尝试导入 sklearn 模块时出错:ImportError:DLL 加载失败:找不到指定的模块 - Error when trying to import sklearn modules : ImportError: DLL load failed: The specified module could not be found 导入错误:DLL加载失败:使用cxfreeze时找不到指定的模块 - Import Error: DLL load failed: The specified module could not be found when using cxfreeze cx_Freeze导入错误:DLL加载失败:找不到指定的模块 - cx_Freeze Import Error: DLL load failed: The specified module could not be found 导入tensorflow错误:DLL加载失败:找不到指定的程序 - Import tensorflow error: DLL load failed: The specified procedure could not be found Tensorflow 错误:ImportError: DLL 加载失败:找不到指定的模块 - Tensorflow Error: ImportError: DLL load failed: The specified module could not be found
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM