Kivy: PyInstaller not including Kivy modules upon compiling spec file -
Kivy: PyInstaller not including Kivy modules upon compiling spec file -
i've been next creating packages mac os kivy.org in order seek , create .app kivy .py file.
however, despite next guide through, app never works, crashes instantly upon opening. pyinstaller's warning's concerning build dumped in .txt contained following:
w: no module named kivy.graphics.clearbuffers (top-level import kivy.uix.screenmanager) w: no module named kivy.core.spelling.spellingbase (top-level import kivy.core.spelling.spelling_enchant) w: no module named kivy.core.image.imageloader (top-level import kivy.core.image.img_gif) w: no module named multiprocessing.rlock (top-level import multiprocessing.sharedctypes)
and on . . . (full file long, can viewed here)
it seems no kivy modules @ found, must have not been included reason. want inquire how fix.
as of right now, have been using commands:
kivy pyinstaller.py myapp.py kivy pyinstaller.py myapp.spec
respectively create both spec file , app. spec file doesn't seem have missing. (i've included hooks , checked working spec file used create .exe in past)
# -*- mode: python -*- # -*- coding: utf-8 -*- kivy.tools.packaging.pyinstaller_hooks import install_hooks install_hooks(globals()) = analysis(['meep/meep.py'], pathex=['/users/owatch/documents/pyinstaller/meep'], hiddenimports=[], runtime_hooks=none) pyz = pyz(a.pure) exe = exe(pyz, a.scripts, exclude_binaries=true, name='meep', debug=false, strip=none, upx=true, console=false , icon='meep/icon.icns') coll = collect(exe,tree('/users/owatch/desktop/examples/demo/touchtracer/'), a.binaries, a.zipfiles, a.datas, strip=none, upx=true, name='meep')
anyways, i'm not sure why occuring. suspicions around following:
1: downloaded pyinstaller .zip since not find .py file on system. despite having installed via pip on believe separate python installation (i have 2.7 separately)
2: reference touchtracer somehow wrong, linked touchtracer directory came bundled in dmg kivy. (a folder named examples, dragged desktop)
other that, i'm afraid i'm pretty clueless. helping (if can!)
it appears error associated flawed spec file. nil else report.
module kivy pyinstaller
Comments
Post a Comment