【问题标题】:GStreamer with Python 2.7 cannot import gst使用 Python 2.7 的 GStreamer 无法导入 gst
【发布时间】:2012-12-02 02:05:13
【问题描述】:

我遇到了同样的问题: Cannot Import GST in Python 但是,它的解决方案对我不起作用。

我正在使用带有 Python 2.7、GStreamer 0.10.7 和 PyGTK 2.24 的 Win7 64 位。我收到的确切错误是:

>>>import gst
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Python27\lib\site-packages\gst-0.10\gst\__init__.py", line 87, in <mo
dule>
    from _gst import *
ImportError: DLL load failed: The specified module could not be found.

我做错了什么吗?

提前致谢

【问题讨论】:

    标签: python pygtk gstreamer python-gstreamer


    【解决方案1】:
    import pygst
    pygst.require('0.10')
    import gst
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-04-29
      • 2015-09-13
      • 2013-02-27
      • 1970-01-01
      • 2012-08-09
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多