Skip to content

Instantly share code, notes, and snippets.

@onslauth
Created June 3, 2019 08:38
Show Gist options
  • Save onslauth/8b8e4bc3755b6d037285b7c6ca5d1583 to your computer and use it in GitHub Desktop.
Save onslauth/8b8e4bc3755b6d037285b7c6ca5d1583 to your computer and use it in GitHub Desktop.
$ python3 -m kivy.tools.packaging.pyinstaller_hooks hook ./kivy-hooks
[INFO ] [Logger ] Record log in /Users/xxx/.kivy/logs/kivy_19-06-03_16.txt
[INFO ] [Kivy ] v1.11.0
[INFO ] [Kivy ] Installed at "/usr/local/lib/python3.6/site-packages/kivy/__init__.py"
[INFO ] [Python ] v3.6.5 (default, May 7 2018, 14:48:21)
[GCC 4.2.1 Compatible Apple LLVM 9.1.0 (clang-902.0.39.1)]
[INFO ] [Python ] Interpreter at "/usr/local/opt/python/bin/python3.6"
[INFO ] [Factory ] 184 symbols loaded
[INFO ] [Logger ] Record log in /Users/xxx/.kivy/logs/kivy_19-06-03_17.txt
[INFO ] [Kivy ] v1.11.0
[INFO ] [Kivy ] Installed at "/usr/local/lib/python3.6/site-packages/kivy/__init__.py"
[INFO ] [Python ] v3.6.5 (default, May 7 2018, 14:48:21)
[GCC 4.2.1 Compatible Apple LLVM 9.1.0 (clang-902.0.39.1)]
[INFO ] [Python ] Interpreter at "/usr/local/opt/python/bin/python3.6"
[INFO ] [Image ] Providers: img_tex, img_imageio, img_dds, img_sdl2, img_pil, img_gif (img_ffpyplayer ignored)
Traceback (most recent call last):
File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.6/site-packages/kivy/tools/packaging/pyinstaller_hooks/__main__.py", line 11, in <module>
lines = get_deps_all()['hiddenimports']
File "/usr/local/lib/python3.6/site-packages/kivy/tools/packaging/pyinstaller_hooks/__init__.py", line 275, in get_deps_all
'binaries': _find_gst_binaries(),
File "/usr/local/lib/python3.6/site-packages/kivy/tools/packaging/pyinstaller_hooks/__init__.py", line 354, in _find_gst_binaries
gst_plugin_path = _find_gst_plugin_path()
File "/usr/local/lib/python3.6/site-packages/kivy/tools/packaging/pyinstaller_hooks/__init__.py", line 342, in _find_gst_plugin_path
match = re.search(r'\s+(\S+libgstcoreelements\.\S+)', stdoutdata)
File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/re.py", line 182, in search
return _compile(pattern, flags).search(string)
TypeError: cannot use a string pattern on a bytes-like object
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment