SDL2 PyInstaller onefile - Unable to get a Window(missing libraries)
See original GitHub issueI tried to package Touchtracer with PyInstaller --onefile
option, but it doesn’t work. After inspecting MEIxyz folder in Temp
I found out that sdl2 libraries from share\sdl2\bin
(wheel installation) are missing. The only thing from the folder present were all files with SDL
at the beginning.
One folder option works.
<path_to_python>\Py27_11>python -m PyInstaller --name Touchtracer --clean --onefile share \kivy-examples\demo\touchtracer\main.py 62 INFO: PyInstaller: 3.2.dev0+5427395 62 INFO: Python: 2.7.11 62 INFO: Platform: Windows-8.1-6.3.9600 62 INFO: wrote <path_to_python>\Py27_11\Touchtracer.spec 62 INFO: UPX is not available. 62 INFO: Removing temporary files and cleaning cache in <user>\AppData\Roaming\pyinstaller 62 INFO: Extending PYTHONPATH with paths ['<path_to_python>\\Py27_11\\share\\kivy-examples\\demo\\touchtracer', '<path_to_python>\\Py27_11'] 62 INFO: checking Analysis 62 INFO: Building Analysis because out00-Analysis.toc is non existent 62 INFO: Initializing module dependency graph... 78 INFO: Initializing module graph hooks... 119 INFO: running Analysis out00-Analysis.toc 123 INFO: Adding Microsoft.VC90.CRT to dependent assemblies of final executable required by <path_to_python>\Py27_11\python.exe 284 INFO: Found C:\Windows\WinSxS\Manifests\x86_policy.9.0.microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.2 1022.123_none_d8da20a86117ac6f.manifest 284 INFO: Found C:\Windows\WinSxS\Manifests\x86_policy.9.0.microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.2 1022.8_none_60a5df56e60dc5df.manifest 300 INFO: Found C:\Windows\WinSxS\Manifests\x86_policy.9.0.microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.3 0729.1_none_8550c6b5d18a9128.manifest 300 INFO: Found C:\Windows\WinSxS\Manifests\x86_policy.9.0.microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.3 0729.4148_none_f47e1bd6f6571810.manifest 300 INFO: Found C:\Windows\WinSxS\Manifests\x86_policy.9.0.microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.3 0729.6161_none_f480bfaef65491a5.manifest 300 INFO: Found C:\Windows\WinSxS\Manifests\x86_policy.9.0.microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.3 0729.8387_none_f4823b16f6535909.manifest 472 INFO: Searching for assembly x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.123_none ... 472 INFO: Found manifest C:\Windows\WinSxS\Manifests\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.210 22.123_none_34ecb028277b0621.manifest 472 INFO: Searching for file msvcr90.dll 472 INFO: Found file C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022.123_none_34 ecb028277b0621\msvcr90.dll 472 INFO: Searching for file msvcp90.dll 472 INFO: Found file C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022.123_none_34 ecb028277b0621\msvcp90.dll 472 INFO: Searching for file msvcm90.dll 472 INFO: Found file C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022.123_none_34 ecb028277b0621\msvcm90.dll 698 INFO: Found C:\Windows\WinSxS\Manifests\x86_policy.9.0.microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.2 1022.123_none_d8da20a86117ac6f.manifest 698 INFO: Found C:\Windows\WinSxS\Manifests\x86_policy.9.0.microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.2 1022.8_none_60a5df56e60dc5df.manifest 698 INFO: Found C:\Windows\WinSxS\Manifests\x86_policy.9.0.microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.3 0729.1_none_8550c6b5d18a9128.manifest 698 INFO: Found C:\Windows\WinSxS\Manifests\x86_policy.9.0.microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.3 0729.4148_none_f47e1bd6f6571810.manifest 698 INFO: Found C:\Windows\WinSxS\Manifests\x86_policy.9.0.microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.3 0729.6161_none_f480bfaef65491a5.manifest 698 INFO: Found C:\Windows\WinSxS\Manifests\x86_policy.9.0.microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.3 0729.8387_none_f4823b16f6535909.manifest 698 INFO: Adding redirect Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 123) 760 INFO: Analyzing <path_to_python>\Py27_11\share\kivy-examples\demo\touchtracer\main.py 1869 INFO: Processing pre-find module path hook distutils 3633 INFO: Processing pre-safe import module hook _xmlplus 4577 INFO: Looking for import hooks ... 4577 INFO: Processing hook hook-distutils.py 4577 INFO: Processing hook hook-xml.py 4639 INFO: Processing hook hook-PIL.py 4639 INFO: Import to be excluded not found: 'FixTk' 4639 INFO: Import to be excluded not found: 'Tkinter' 4639 INFO: Excluding import 'PyQt5' 4639 WARNING: From PIL.ImageQt removing import PyQt5 4639 WARNING: From PIL.ImageQt removing import PyQt5.qRgba 4639 WARNING: From PIL.ImageQt removing import PyQt5.QPixmap 4639 WARNING: From PIL.ImageQt removing import PyQt5.QImage 4639 INFO: Excluding import 'PySide' 4639 WARNING: From PIL.ImageQt removing import PySide.QPixmap 4639 WARNING: From PIL.ImageQt removing import PySide.qRgba 4639 WARNING: From PIL.ImageQt removing import PySide 4639 WARNING: From PIL.ImageQt removing import PySide.QImage 4639 INFO: Excluding import 'PyQt4' 4639 WARNING: From PIL.ImageQt removing import PyQt4.qRgba 4655 WARNING: From PIL.ImageQt removing import PyQt4 4655 WARNING: From PIL.ImageQt removing import PyQt4.QImage 4655 WARNING: From PIL.ImageQt removing import PyQt4.QPixmap 4655 INFO: Processing hook hook-httplib.py 4655 INFO: Processing hook hook-kivy.py [INFO ] [Logger ] Record log in <user>\.kivy\logs\kivy_16-03-18_38.txt 4686 INFO: [Logger ] Record log in <user>\.kivy\logs\kivy_16-03-18_38.txt [INFO ] [Kivy ] v1.9.2-dev0 4686 INFO: [Kivy ] v1.9.2-dev0 [INFO ] [Python ] v2.7.11 (v2.7.11:6d1b6a68f775, Dec 5 2015, 20:32:19) [MSC v.150 0 32 bit (Intel)] 4686 INFO: [Python ] v2.7.11 (v2.7.11:6d1b6a68f775, Dec 5 2015, 20:32:19) [MSC v.1500 32 bit ( Intel)] [INFO ] [Factory ] 179 symbols loaded 4686 INFO: [Factory ] 179 symbols loaded 7048 INFO: Import to be excluded not found: 'Tkinter' 7048 INFO: Excluding import 'twisted' 7063 WARNING: From kivy.support removing import twisted 7063 INFO: Import to be excluded not found: '_tkinter' 7079 INFO: Processing hook hook-docutils.py 7991 INFO: Processing hook hook-PIL.Image.py 8382 INFO: Processing hook hook-xml.dom.domreg.py 8382 INFO: Processing hook hook-PIL.SpiderImagePlugin.py 8399 INFO: Excluding import 'FixTk' 8400 INFO: Excluding import 'Tkinter' 8402 INFO: Processing hook hook-encodings.py 8760 INFO: Processing hook hook-xml.etree.cElementTree.py 8760 INFO: Processing hook hook-sysconfig.py 8760 INFO: Processing hook hook-pygments.py 9931 INFO: Processing hook hook-_tkinter.py 10087 INFO: checking Tree 10087 INFO: Building Tree because out00-Tree.toc is non existent 10087 INFO: Building Tree out00-Tree.toc 10306 INFO: checking Tree 10306 INFO: Building Tree because out01-Tree.toc is non existent 10306 INFO: Building Tree out01-Tree.toc 10384 INFO: Looking for ctypes DLLs 10415 INFO: Analyzing run-time hooks ... 10431 INFO: Including run-time hook 'pyi_rth__tkinter.py' 10431 INFO: Including run-time hook 'pyi_rth_kivy.py' 10431 INFO: Including run-time hook 'pyi_rth_pkgres.py' 10431 INFO: Including run-time hook 'pyi_rth_gstreamer.py' 10446 INFO: Looking for dynamic libraries 11171 WARNING: lib not found: libglib-2.0-0.dll dependency of <path_to_python>\py27_11\li b\site-packages\kivy\lib\gstplayer\_gstplayer.pyd 11265 WARNING: lib not found: libgstreamer-1.0-0.dll dependency of <path_to_python>\py27_ 11\lib\site-packages\kivy\lib\gstplayer\_gstplayer.pyd 11358 WARNING: lib not found: libgobject-2.0-0.dll dependency of <path_to_python>\py27_11 \lib\site-packages\kivy\lib\gstplayer\_gstplayer.pyd 11708 WARNING: Attempted to add Python module twice with different upper/lowercases: PIL._webp 11708 WARNING: Attempted to add Python module twice with different upper/lowercases: PIL._imagingtk 11708 WARNING: Attempted to add Python module twice with different upper/lowercases: PIL._imaging 11708 WARNING: Attempted to add Python module twice with different upper/lowercases: PIL._imagingft 11708 INFO: Looking for eggs 11708 INFO: Using Python library <path_to_python>\Py27_11\python27.dll 11708 INFO: Found binding redirects: [BindingRedirect(name=u'Microsoft.VC90.CRT', language=None, arch=u'x86', oldVersion=(9, 0, 21022, 8) , newVersion=(9, 0, 21022, 123), publicKeyToken=u'1fc8b3b9a1e18e3b')] 11740 INFO: Warnings written to <path_to_python>\Py27_11\build\Touchtracer\warnTouchtrace r.txt 12176 INFO: checking PYZ 12176 INFO: Building PYZ because out00-PYZ.toc is non existent 12176 INFO: Building PYZ (ZlibArchive) <path_to_python>\Py27_11\build\Touchtracer\out00-P YZ.pyz 13260 INFO: checking PKG 13260 INFO: Building PKG because out00-PKG.toc is non existent 13260 INFO: Building PKG (CArchive) out00-PKG.pkg 13355 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 123) 13355 INFO: Updating manifest in <user>\AppData\Roaming\pyinstaller\bincache00_py27_32bit\p ython27.dll 13355 INFO: Updating resource type 24 name 2 language 1033 13385 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 123) 13385 INFO: Updating manifest in <user>\AppData\Roaming\pyinstaller\bincache00_py27_32bit\_ ssl.pyd 13385 INFO: Updating resource type 24 name 2 language 1033 13401 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 123) 13401 INFO: Updating manifest in <user>\AppData\Roaming\pyinstaller\bincache00_py27_32bit\_ socket.pyd 13401 INFO: Updating resource type 24 name 2 language 1033 13416 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 123) 13416 INFO: Updating manifest in <user>\AppData\Roaming\pyinstaller\bincache00_py27_32bit\p yexpat.pyd 13416 INFO: Updating resource type 24 name 2 language 1033 13432 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 123) 13432 INFO: Updating manifest in <user>\AppData\Roaming\pyinstaller\bincache00_py27_32bit\s elect.pyd 13432 INFO: Updating resource type 24 name 2 language 1033 13448 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 123) 13448 INFO: Updating manifest in <user>\AppData\Roaming\pyinstaller\bincache00_py27_32bit\_ ctypes.pyd 13448 INFO: Updating resource type 24 name 2 language 1033 13463 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 123) 13463 INFO: Updating manifest in <user>\AppData\Roaming\pyinstaller\bincache00_py27_32bit\b z2.pyd 13463 INFO: Updating resource type 24 name 2 language 1033 13494 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 123) 13494 INFO: Updating manifest in <user>\AppData\Roaming\pyinstaller\bincache00_py27_32bit\u nicodedata.pyd 13494 INFO: Updating resource type 24 name 2 language 1033 13510 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 123) 13510 INFO: Updating manifest in <user>\AppData\Roaming\pyinstaller\bincache00_py27_32bit\_ hashlib.pyd 13526 INFO: Updating resource type 24 name 2 language 1033 13526 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 123) 13541 INFO: Updating manifest in <user>\AppData\Roaming\pyinstaller\bincache00_py27_32bit\k ivy.graphics.scissor_instructions.pyd 13543 INFO: Updating resource type 24 name 2 language 1033 13556 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 123) 13557 INFO: Updating manifest in <user>\AppData\Roaming\pyinstaller\bincache00_py27_32bit\k ivy.graphics.fbo.pyd 13559 INFO: Updating resource type 24 name 2 language 1033 13564 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 123) 13564 INFO: Updating manifest in <user>\AppData\Roaming\pyinstaller\bincache00_py27_32bit\k ivy.graphics.gl_instructions.pyd 13564 INFO: Updating resource type 24 name 2 language 1033 13579 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 123) 13579 INFO: Updating manifest in <user>\AppData\Roaming\pyinstaller\bincache00_py27_32bit\k ivy.graphics.stencil_instructions.pyd 13579 INFO: Updating resource type 24 name 2 language 1033 13595 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 123) 13595 INFO: Updating manifest in <user>\AppData\Roaming\pyinstaller\bincache00_py27_32bit\k ivy.graphics.vertex_instructions.pyd 13595 INFO: Updating resource type 24 name 2 language 1033 13610 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 123) 13610 INFO: Updating manifest in <user>\AppData\Roaming\pyinstaller\bincache00_py27_32bit\k ivy.graphics.context_instructions.pyd 13610 INFO: Updating resource type 24 name 2 language 1033 13626 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 123) 13626 INFO: Updating manifest in <user>\AppData\Roaming\pyinstaller\bincache00_py27_32bit\k ivy.graphics.instructions.pyd 13626 INFO: Updating resource type 24 name 2 language 1033 13642 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 123) 13642 INFO: Updating manifest in <user>\AppData\Roaming\pyinstaller\bincache00_py27_32bit\k ivy.properties.pyd 13657 INFO: Updating resource type 24 name 2 language 1033 13657 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 123) 13657 INFO: Updating manifest in <user>\AppData\Roaming\pyinstaller\bincache00_py27_32bit\k ivy.core.text.text_layout.pyd 13673 INFO: Updating resource type 24 name 2 language 1033 13689 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 123) 13689 INFO: Updating manifest in <user>\AppData\Roaming\pyinstaller\bincache00_py27_32bit\k ivy.graphics.texture.pyd 13689 INFO: Updating resource type 24 name 2 language 1033 13704 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 123) 13704 INFO: Updating manifest in <user>\AppData\Roaming\pyinstaller\bincache00_py27_32bit\k ivy.weakproxy.pyd 13704 INFO: Updating resource type 24 name 2 language 1033 13720 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 123) 13720 INFO: Updating manifest in <user>\AppData\Roaming\pyinstaller\bincache00_py27_32bit\k ivy._event.pyd 13720 INFO: Updating resource type 24 name 2 language 1033 13735 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 123) 13735 INFO: Updating manifest in <user>\AppData\Roaming\pyinstaller\bincache00_py27_32bit\_ multiprocessing.pyd 13735 INFO: Updating resource type 24 name 2 language 1033 13767 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 123) 13767 INFO: Updating manifest in <user>\AppData\Roaming\pyinstaller\bincache00_py27_32bit\_ tkinter.pyd 13767 INFO: Updating resource type 24 name 2 language 1033 13829 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 123) 13829 INFO: Updating manifest in <user>\AppData\Roaming\pyinstaller\bincache00_py27_32bit\k ivy.graphics.opengl.pyd 13829 INFO: Updating resource type 24 name 2 language 1033 13845 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 123) 13845 INFO: Updating manifest in <user>\AppData\Roaming\pyinstaller\bincache00_py27_32bit\k ivy.graphics.context.pyd 13845 INFO: Updating resource type 24 name 2 language 1033 13860 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 123) 13860 INFO: Updating manifest in <user>\AppData\Roaming\pyinstaller\bincache00_py27_32bit\k ivy.graphics.opengl_utils.pyd 13860 INFO: Updating resource type 24 name 2 language 1033 13876 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 123) 13876 INFO: Updating manifest in <user>\AppData\Roaming\pyinstaller\bincache00_py27_32bit\k ivy.graphics.transformation.pyd 13876 INFO: Updating resource type 24 name 2 language 1033 13907 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 123) 13907 INFO: Updating manifest in <user>\AppData\Roaming\pyinstaller\bincache00_py27_32bit\k ivy.graphics.vertex.pyd 13907 INFO: Updating resource type 24 name 2 language 1033 13923 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 123) 13923 INFO: Updating manifest in <user>\AppData\Roaming\pyinstaller\bincache00_py27_32bit\k ivy.graphics.c_opengl_debug.pyd 13923 INFO: Updating resource type 24 name 2 language 1033 13939 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 123) 13939 INFO: Updating manifest in <user>\AppData\Roaming\pyinstaller\bincache00_py27_32bit\k ivy.core.audio.audio_sdl2.pyd 13939 INFO: Updating resource type 24 name 2 language 1033 13985 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 123) 13985 INFO: Updating manifest in <user>\AppData\Roaming\pyinstaller\bincache00_py27_32bit\k ivy.core.text._text_sdl2.pyd 13985 INFO: Updating resource type 24 name 2 language 1033 14001 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 123) 14001 INFO: Updating manifest in <user>\AppData\Roaming\pyinstaller\bincache00_py27_32bit\_ elementtree.pyd 14001 INFO: Updating resource type 24 name 2 language 1033 14017 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 123) 14017 INFO: Updating manifest in <user>\AppData\Roaming\pyinstaller\bincache00_py27_32bit\k ivy.core.window._window_sdl2.pyd 14017 INFO: Updating resource type 24 name 2 language 1033 14032 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 123) 14032 INFO: Updating manifest in <user>\AppData\Roaming\pyinstaller\bincache00_py27_32bit\k ivy.graphics.compiler.pyd 14032 INFO: Updating resource type 24 name 2 language 1033 14048 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 123) 14048 INFO: Updating manifest in <user>\AppData\Roaming\pyinstaller\bincache00_py27_32bit\k ivy.lib.gstplayer._gstplayer.pyd 14048 INFO: Updating resource type 24 name 2 language 1033 14064 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 123) 14064 INFO: Updating manifest in <user>\AppData\Roaming\pyinstaller\bincache00_py27_32bit\k ivy.core.clipboard._clipboard_sdl2.pyd 14064 INFO: Updating resource type 24 name 2 language 1033 14079 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 123) 14079 INFO: Updating manifest in <user>\AppData\Roaming\pyinstaller\bincache00_py27_32bit\k ivy.graphics.vbo.pyd 14079 INFO: Updating resource type 24 name 2 language 1033 14095 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 123) 14110 INFO: Updating manifest in <user>\AppData\Roaming\pyinstaller\bincache00_py27_32bit\k ivy.graphics.shader.pyd 14110 INFO: Updating resource type 24 name 2 language 1033 14126 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 123) 14126 INFO: Updating manifest in <user>\AppData\Roaming\pyinstaller\bincache00_py27_32bit\k ivy.graphics.tesselator.pyd 14126 INFO: Updating resource type 24 name 2 language 1033 14142 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 123) 14142 INFO: Updating manifest in <user>\AppData\Roaming\pyinstaller\bincache00_py27_32bit\k ivy.graphics.buffer.pyd 14142 INFO: Updating resource type 24 name 2 language 1033 14157 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 123) 14157 INFO: Updating manifest in <user>\AppData\Roaming\pyinstaller\bincache00_py27_32bit\k ivy.core.image._img_sdl2.pyd 14157 INFO: Updating resource type 24 name 2 language 1033 14173 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 123) 14173 INFO: Updating manifest in <user>\AppData\Roaming\pyinstaller\bincache00_py27_32bit\k ivy.graphics.svg.pyd 14173 INFO: Updating resource type 24 name 2 language 1033 14220 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 123) 14220 INFO: Updating manifest in <user>\AppData\Roaming\pyinstaller\bincache00_py27_32bit\g lew32.dll 14220 INFO: Updating resource type 24 name 2 language 1033 14235 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 123) 14251 INFO: Updating manifest in <user>\AppData\Roaming\pyinstaller\bincache00_py27_32bit\t cl85.dll 14251 INFO: Updating resource type 24 name 2 language 1033 14282 INFO: Updating manifest in <user>\AppData\Roaming\pyinstaller\bincache00_py27_32bit\t k85.dll 14282 INFO: Updating resource type 24 name 1 language 1033 14282 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 123) 14282 INFO: Updating manifest in <user>\AppData\Roaming\pyinstaller\bincache00_py27_32bit\t k85.dll 14282 INFO: Updating resource type 24 name 2 language 1033 14423 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 123) 18780 INFO: Bootloader <path_to_python>\Py27_11\lib\site-packages\PyInstaller\bootloader\ Windows-32bit\run.exe 18780 INFO: checking EXE 18780 INFO: Building EXE because out00-EXE.toc is non existent 18780 INFO: Building EXE from out00-EXE.toc 18796 INFO: Appending archive to EXE <path_to_python>\Py27_11\dist\Touchtracer.exe
.spec
from kivy.deps import sdl2, glew block_cipher = None a = Analysis(['share\\kivy-examples\\demo\\touchtracer\\main.py'], pathex=['<path_to_python>\\Py27_11'], binaries=None, datas=None, hiddenimports=[], hookspath=[], runtime_hooks=[], excludes=[], win_no_prefer_redirects=False, win_private_assemblies=False, cipher=block_cipher) pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher) a.datas += [('touchtracer.kv','share\\kivy-examples\\demo\\touchtracer\\touchtracer.kv', 'DATA')] exe = EXE(pyz, Tree('share\\kivy-examples\\demo\\touchtracer\\'), a.scripts, a.binaries, a.zipfiles, a.datas, *[Tree(p) for p in (sdl2.dep_bins + glew.dep_bins)], name='Touchtracer', debug=True, strip=False, upx=True, console=True )
<path_to_python>\Py27_11>python -m PyInstaller Touchtracer.spec 52 INFO: PyInstaller: 3.2.dev0+5427395 52 INFO: Python: 2.7.11 66 INFO: Platform: Windows-8.1-6.3.9600 66 INFO: UPX is not available. 66 INFO: Extending PYTHONPATH with paths ['<path_to_python>\\Py27_11\\share\\kivy-examples\\demo\\touchtracer', '<path_to_python>\\Py27_11'] 66 INFO: checking Analysis 82 INFO: Building because inputs changed 82 INFO: Initializing module dependency graph... 82 INFO: Initializing module graph hooks... 129 INFO: running Analysis out00-Analysis.toc 129 INFO: Adding Microsoft.VC90.CRT to dependent assemblies of final executable required by <path_to_python>\Py27_11\python.exe 348 INFO: Found C:\Windows\WinSxS\Manifests\x86_policy.9.0.microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.2 1022.123_none_d8da20a86117ac6f.manifest 348 INFO: Found C:\Windows\WinSxS\Manifests\x86_policy.9.0.microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.2 1022.8_none_60a5df56e60dc5df.manifest 348 INFO: Found C:\Windows\WinSxS\Manifests\x86_policy.9.0.microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.3 0729.1_none_8550c6b5d18a9128.manifest 348 INFO: Found C:\Windows\WinSxS\Manifests\x86_policy.9.0.microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.3 0729.4148_none_f47e1bd6f6571810.manifest 348 INFO: Found C:\Windows\WinSxS\Manifests\x86_policy.9.0.microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.3 0729.6161_none_f480bfaef65491a5.manifest 348 INFO: Found C:\Windows\WinSxS\Manifests\x86_policy.9.0.microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.3 0729.8387_none_f4823b16f6535909.manifest 598 INFO: Searching for assembly x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.123_none ... 598 INFO: Found manifest C:\Windows\WinSxS\Manifests\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.210 22.123_none_34ecb028277b0621.manifest 598 INFO: Searching for file msvcr90.dll 598 INFO: Found file C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022.123_none_34 ecb028277b0621\msvcr90.dll 598 INFO: Searching for file msvcp90.dll 598 INFO: Found file C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022.123_none_34 ecb028277b0621\msvcp90.dll 598 INFO: Searching for file msvcm90.dll 598 INFO: Found file C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022.123_none_34 ecb028277b0621\msvcm90.dll 817 INFO: Found C:\Windows\WinSxS\Manifests\x86_policy.9.0.microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.2 1022.123_none_d8da20a86117ac6f.manifest 832 INFO: Found C:\Windows\WinSxS\Manifests\x86_policy.9.0.microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.2 1022.8_none_60a5df56e60dc5df.manifest 832 INFO: Found C:\Windows\WinSxS\Manifests\x86_policy.9.0.microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.3 0729.1_none_8550c6b5d18a9128.manifest 832 INFO: Found C:\Windows\WinSxS\Manifests\x86_policy.9.0.microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.3 0729.4148_none_f47e1bd6f6571810.manifest 832 INFO: Found C:\Windows\WinSxS\Manifests\x86_policy.9.0.microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.3 0729.6161_none_f480bfaef65491a5.manifest 832 INFO: Found C:\Windows\WinSxS\Manifests\x86_policy.9.0.microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.3 0729.8387_none_f4823b16f6535909.manifest 832 INFO: Adding redirect Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 123) 895 INFO: Analyzing share\kivy-examples\demo\touchtracer\main.py 2085 INFO: Processing pre-find module path hook distutils 3799 INFO: Processing pre-safe import module hook _xmlplus 4786 INFO: Looking for import hooks ... 4786 INFO: Processing hook hook-distutils.py 4786 INFO: Processing hook hook-xml.py 4848 INFO: Processing hook hook-PIL.py 4848 INFO: Import to be excluded not found: 'FixTk' 4848 INFO: Import to be excluded not found: 'Tkinter' 4848 INFO: Excluding import 'PyQt5' 4848 WARNING: From PIL.ImageQt removing import PyQt5 4848 WARNING: From PIL.ImageQt removing import PyQt5.qRgba 4848 WARNING: From PIL.ImageQt removing import PyQt5.QPixmap 4848 WARNING: From PIL.ImageQt removing import PyQt5.QImage 4848 INFO: Excluding import 'PySide' 4848 WARNING: From PIL.ImageQt removing import PySide.QPixmap 4848 WARNING: From PIL.ImageQt removing import PySide.qRgba 4848 WARNING: From PIL.ImageQt removing import PySide 4848 WARNING: From PIL.ImageQt removing import PySide.QImage 4848 INFO: Excluding import 'PyQt4' 4863 WARNING: From PIL.ImageQt removing import PyQt4.qRgba 4863 WARNING: From PIL.ImageQt removing import PyQt4 4863 WARNING: From PIL.ImageQt removing import PyQt4.QImage 4863 WARNING: From PIL.ImageQt removing import PyQt4.QPixmap 4863 INFO: Processing hook hook-httplib.py 4863 INFO: Processing hook hook-kivy.py [INFO ] [Logger ] Record log in <user>\.kivy\logs\kivy_16-03-18_39.txt 4895 INFO: [Logger ] Record log in <user>\.kivy\logs\kivy_16-03-18_39.txt [INFO ] [Kivy ] v1.9.2-dev0 4895 INFO: [Kivy ] v1.9.2-dev0 [INFO ] [Python ] v2.7.11 (v2.7.11:6d1b6a68f775, Dec 5 2015, 20:32:19) [MSC v.150 0 32 bit (Intel)] 4895 INFO: [Python ] v2.7.11 (v2.7.11:6d1b6a68f775, Dec 5 2015, 20:32:19) [MSC v.1500 32 bit ( Intel)] [INFO ] [Factory ] 179 symbols loaded 4895 INFO: [Factory ] 179 symbols loaded 7166 INFO: Import to be excluded not found: 'Tkinter' 7166 INFO: Excluding import 'twisted' 7166 WARNING: From kivy.support removing import twisted 7166 INFO: Import to be excluded not found: '_tkinter' 7181 INFO: Processing hook hook-docutils.py 8066 INFO: Processing hook hook-PIL.Image.py 8463 INFO: Processing hook hook-xml.dom.domreg.py 8463 INFO: Processing hook hook-PIL.SpiderImagePlugin.py 8463 INFO: Excluding import 'FixTk' 8463 INFO: Excluding import 'Tkinter' 8463 INFO: Processing hook hook-encodings.py 8869 INFO: Processing hook hook-xml.etree.cElementTree.py 8869 INFO: Processing hook hook-sysconfig.py 8869 INFO: Processing hook hook-pygments.py 10141 INFO: Processing hook hook-_tkinter.py 10302 INFO: checking Tree 10365 INFO: checking Tree 10427 INFO: Looking for ctypes DLLs 10460 INFO: Analyzing run-time hooks ... 10460 INFO: Including run-time hook 'pyi_rth__tkinter.py' 10460 INFO: Including run-time hook 'pyi_rth_kivy.py' 10460 INFO: Including run-time hook 'pyi_rth_pkgres.py' 10474 INFO: Including run-time hook 'pyi_rth_gstreamer.py' 10490 INFO: Looking for dynamic libraries 11131 WARNING: lib not found: libglib-2.0-0.dll dependency of <path_to_python>\py27_11\li b\site-packages\kivy\lib\gstplayer\_gstplayer.pyd 11224 WARNING: lib not found: libgstreamer-1.0-0.dll dependency of <path_to_python>\py27_ 11\lib\site-packages\kivy\lib\gstplayer\_gstplayer.pyd 11324 WARNING: lib not found: libgobject-2.0-0.dll dependency of <path_to_python>\py27_11 \lib\site-packages\kivy\lib\gstplayer\_gstplayer.pyd 11684 WARNING: Attempted to add Python module twice with different upper/lowercases: PIL._webp 11684 WARNING: Attempted to add Python module twice with different upper/lowercases: PIL._imagingtk 11684 WARNING: Attempted to add Python module twice with different upper/lowercases: PIL._imaging 11684 WARNING: Attempted to add Python module twice with different upper/lowercases: PIL._imagingft 11684 INFO: Looking for eggs 11684 INFO: Using Python library <path_to_python>\Py27_11\python27.dll 11684 INFO: Found binding redirects: [BindingRedirect(name=u'Microsoft.VC90.CRT', language=None, arch=u'x86', oldVersion=(9, 0, 21022, 8) , newVersion=(9, 0, 21022, 123), publicKeyToken=u'1fc8b3b9a1e18e3b')] 11699 INFO: Warnings written to <path_to_python>\Py27_11\build\Touchtracer\warnTouchtrace r.txt 12152 INFO: checking PYZ 12199 INFO: checking PKG 12259 INFO: Building because <path_to_python>\Py27_11\build\Touchtracer\Touchtracer.exe.m anifest changed 12259 INFO: Building PKG (CArchive) out00-PKG.pkg 12392 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 123) 16813 INFO: Bootloader <path_to_python>\Py27_11\lib\site-packages\PyInstaller\bootloader\ Windows-32bit\run.exe 16813 INFO: checking EXE 16813 INFO: Building because out00-EXE.toc is bad 16813 INFO: Building EXE from out00-EXE.toc 16813 INFO: Appending archive to EXE <path_to_python>\Py27_11\dist\Touchtracer.exe
<path_to_python>\Py27_11>dist\Touchtracer [INFO ] [Logger ] Record log in <user>\.kivy\logs\kivy_16-03-18_40.txt [INFO ] [Kivy ] v1.9.2-dev0 [INFO ] [Python ] v2.7.11 (v2.7.11:6d1b6a68f775, Dec 5 2015, 20:32:19) [MSC v.150 0 32 bit (Intel)] [INFO ] [Factory ] 179 symbols loaded [DEBUG ] [Cache ] register <kv.lang> with limit=None, timeout=None [DEBUG ] [Cache ] register <kv.image> with limit=None, timeout=60 [DEBUG ] [Cache ] register <kv.atlas> with limit=None, timeout=None [INFO ] [Image ] Providers: img_tex, img_dds, img_gif, img_sdl2, img_pil (img_ffp yplayer ignored) [DEBUG ] [Cache ] register <kv.texture> with limit=1000, timeout=60 [DEBUG ] [Cache ] register <kv.shader> with limit=1000, timeout=3600 [INFO ] [Text ] Provider: sdl2 [DEBUG ] [Resource ] add <<path_to_python>\Py27_11> in path list [DEBUG ] [App ] Loading kv <.\touchtracer.kv> [DEBUG ] [App ] kv <.\touchtracer.kv> not found [INFO ] [OSC ] using <thread> for socket [INFO ] [Window ] Provider: sdl2 [INFO ] [GL ] GLEW initialization succeeded [INFO ] [GL ] OpenGL version <4.2.0 - Build 10.18.10.3316> [INFO ] [GL ] OpenGL vendor <Intel> [INFO ] [GL ] OpenGL renderer <Intel(R) HD Graphics 4400> [INFO ] [GL ] OpenGL parsed version: 4, 2 [INFO ] [GL ] Shading version <4.20 - Build 10.18.10.3316> [INFO ] [GL ] Texture max size <16384> [INFO ] [GL ] Texture max units <16> [DEBUG ] [Shader ] Fragment compiled successfully [DEBUG ] [Shader ] Vertex compiled successfully [DEBUG ] [ImageSDL2 ] Load <<user>\AppData\Local\Temp\_MEI124122\kivy_install \data\glsl\default.png> [WARNING ] [Image ] Unable to load image <<user>\AppData\Local\Temp\_MEI124 122\kivy_install\data\glsl\default.png> [CRITICAL ] [Window ] Unable to find any valuable Window provider at all! sdl2 - Exception: SDL2: Unable to load image File "<path_to_python>\py27_11\lib\site-packages\kivy\core\__init__.py", line 67, in co re_select_lib cls = cls() File "<path_to_python>\py27_11\lib\site-packages\kivy\core\window\window_sdl2.py", line 138, in __init__ super(WindowSDL, self).__init__() File "<path_to_python>\py27_11\lib\site-packages\kivy\core\window\__init__.py", line 72 6, in __init__ self.create_window() File "<path_to_python>\py27_11\lib\site-packages\kivy\core\window\window_sdl2.py", line 258, in create_window super(WindowSDL, self).create_window() File "<path_to_python>\py27_11\lib\site-packages\kivy\core\window\__init__.py", line 90 1, in create_window self.render_context = RenderContext() File "kivy\graphics\instructions.pyx", line 756, in kivy.graphics.instructions.RenderContext.__ini t__ (kivy\graphics\instructions.c:10729) File "<path_to_python>\py27_11\lib\site-packages\kivy\core\image\__init__.py", line 512 , in __init__ self.filename = arg File "<path_to_python>\py27_11\lib\site-packages\kivy\core\image\__init__.py", line 700 , in _set_filename mipmap=self._mipmap, nocache=self._nocache) File "<path_to_python>\py27_11\lib\site-packages\kivy\core\image\__init__.py", line 430 , in load im = loader(filename, **kwargs) File "<path_to_python>\py27_11\lib\site-packages\kivy\core\image\__init__.py", line 198 , in __init__ self._data = self.load(filename) File "<path_to_python>\py27_11\lib\site-packages\kivy\core\image\img_sdl2.py", line 42, in load raise Exception('SDL2: Unable to load image') [CRITICAL ] [App ] Unable to get a Window, abort.
Issue Analytics
- State:
- Created 8 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Unable to find any valuable Window provider on pyinstaller ...
I wrote a program with kivy. Executing the tool using worked just fine, but after I tried: pyinstaller --onefile <Mycode.py>. and generated my ......
Read more >When Things Go Wrong — PyInstaller 5.7.0 documentation
Figuring Out Why Your GUI Application Won't Start app . For Windows, you will need to re-bundle your application without the --windowed option....
Read more >pyinstaller - Google Groups
[CRITICAL] [Window ] Unable to find any valuable Window provider. sdl2 - Exception: SDL2: Unable to load image. File "site-packages\kivy\core\__init__ ...
Read more >subject:"\[PyInstaller\] Re\:" - The Mail Archive
I want to take the application I have made, and > put it on a flashdrive and share it with a colleague, but...
Read more >Create a package for Windows — Kivy 2.1.0 documentation
The previous examples used e.g. *[Tree(p) for p in (sdl2.dep_bins + glew.dep_bins + gstreamer.dep_bins)], to make PyInstaller add all the dlls used by ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I cannot confirm this error. Just recreated my whole environment on a Windows 8.1 machine 2 weeks ago and everything works as expected.
Here is what i did:
The onefile executable created with this setup has been tested on win 8.1 and win 10.
thx to rnix, I got kivy-designer working in win 8.1