尝试运行使用gstreamer的kivy应用程序时出现以下错误,它不会关闭应用程序,但会永久冻结(据我们测试)。当然,使用普通的Kivy应用程序也可以。
错误:
/Users/USER/PycharmProjects/GAME/venv/bin/python /Users/USER/PycharmProjects/GAME/GAME.py
[INFO ] [Logger ] Record log in /Users/USER/.kivy/logs/kivy_18-08-09_102.txt
[INFO ] [Kivy ] v1.10.1
[INFO ] [Python ] v3.6.4 (v3.6.4:d48ecebad5, Dec 18 2017, 21:07:28)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)]
[INFO ] [Factory ] 194 symbols loaded
[INFO ] [Image ] Providers: img_tex, img_imageio, img_dds, img_sdl2, img_gif (img_pil, img_ffpyplayer ignored)
[INFO ] [Window ] Provider: sdl2
[INFO ] [GL ] Using the "OpenGL ES 2" graphics system
[INFO ] [GL ] Backend used <gl>
[INFO ] [GL ] OpenGL version <b'2.1 INTEL-10.36.19'>
[INFO ] [GL ] OpenGL vendor <b'Intel Inc.'>
[INFO ] [GL ] OpenGL renderer <b'Intel Iris Pro OpenGL Engine'>
[INFO ] [GL ] OpenGL parsed version: 2, 1
[INFO ] [GL ] Shading version <b'1.20'>
[INFO ] [GL ] Texture max size <16384>
[INFO ] [GL ] Texture max units <16>
[INFO ] [Window ] auto add sdl2 input provider
[INFO ] [Window ] virtual keyboard not allowed, single mode, not docked
[INFO ] [Text ] Provider: sdl2
Cur Dir: /Users/USER/PycharmProjects/GAME changing to /Users/USER/PycharmProjects/GAME
[INFO ] [AudioGstplayer] Using Gstreamer 1.10.4.0
[INFO ] [Audio ] Providers: audio_gstplayer, audio_sdl2 (audio_ffpyplayer, audio_avplayer ignored)
[WARNING] [Loading game design files from this directory] /Users/USER/PycharmProjects/GAME
Loading game design files from this directory: /Users/USER/PycharmProjects/GAME
arch: /Library/Frameworks/GStreamer.framework/Versions/1.0/libexec/gstreamer-1.0/gst-plugin-scanner isn't executable
我已经在Pycharm解释器中安装了
`Cython 0.28.5`
`Kivy 1.10.1`
`Kivy-Garden 0.1.4`
`Pygments 2.2.0`
`certifi 2018.4.16`
`chardet 3.0.4`
`docutils 0.14`
`idna 2.7`
`mutagen 1.41.0`
`pip 9.0.1`
`requests 2.19.1`
`setuptools 28.8.0`
`urllib3 1.23`
`gstreamer-player 1.1.0`
我在使用python 3.6的OSX版本10.13.6 High Sierra上