无法在Windows中导入EvinceView?

时间:2015-03-30 17:26:51

标签: python python-3.x

我能做到

from gi.repository import Gtk

但是当我试图用EvinceView做同样的错误时

>>> from gi.repository import EvinceView
Traceback (most recent call last):
  File "<frozen importlib._bootstrap>", line 2158, in _find_spec
AttributeError: 'DynamicImporter' object has no attribute 'find_spec'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Python34\lib\site-packages\gi\importer.py", line 53, in find_module
    'introspection typelib not found' % namespace)
ImportError: cannot import name EvinceView, introspection typelib not found
>>>

在linux中运行良好,但不在Windows中

原因是什么?丢失包裹还是不可能?

非常感谢

0 个答案:

没有答案