简体   繁体   中英

Windows kivy app successfully builds using PyInstaller, but doesn't work

I tried to create an executable file in Windows from a kivy project with PyInstaller , and even though it appears to have been successfully created, when I try to run it, I get this

错误

What could cause this? I'm relatively new to kivy , and any help will be much appreciated

well, I actually figured it out myself. Though I don't think that my solution is in any way elegant and it might cause some other problems in the future, but i just edited the pyi_rth_pkgutil.py from PyInstaller package directory ( how it is now , how it used to be ) and reran the pyinstaller package creation script. It just worked after that

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