2012-02-22 92 views
0

我遇到同样的问题: Cannot Import GST in Python 但是,它的解决方案对我无效。GStreamer with Python 2.7无法导入gst

我使用Win7 64bit与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. 

有什么我做错了吗?

在此先感谢

回答

1
import pygst 
pygst.require('0.10') 
import gst