我遇到同样的问题: Cannot Import GST in Python 但是,它的解决方案对我不起作用。
我正在使用Win7 64位,Python 2.7,GStreamer 0.10.7和PyGTK 2.24。我收到的确切错误是:
>>>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.
我做错了吗?
提前致谢
答案 0 :(得分:1)
import pygst
pygst.require('0.10')
import gst