简体   繁体   中英

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). When I'm trying to run my application It's giving me following error for 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. I later removed the python_script folder itself.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM