Kivy:包含错误gstplayer playbin的应用程序

时间:2017-01-16 14:52:23

标签: python kivy gstreamer pyinstaller

我使用PyInstaller(3.2)创建了一个Windows软件包kivy(1.9.1),我按照文档中的说明进行操作,但是当我运行.exe时出现消息错误"无法创建播放器"

我安装了Kivy依赖项和GStreamer thoungh。 有人可以帮帮我吗?

File "C:\Python34\lib\sites-packages\kivy\core\audio\audio\__init__.py", line 161, in on_source
self.load()
File "C:\Python34\lib\sites-packages\kivy\core\audio\audio\audio_gstplayer.py", line 82, in load
self.player.load()
File "kivy\lib\gstplayer\_gstplayer.pyx", line 233, in kivy.lib.gstplayer._gstplayer.GstPlayer.load (kivy\lib/gstplayer\_gstplayer.c:2791)
kivy.lib.gstplayer._gstplayer.GstPlayerException: Unable to create a playbin Failed to execute script main

1 个答案:

答案 0 :(得分:0)

这是PyInstaller中的一个问题。链接如下:

https://github.com/kivy/kivy/issues/4931