4

次を使用して gtk をインポートしようとすると、次の
from gi.repository import Gtk
ようになります。

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 "<pyshell#1>", line 1, in <module>
    from gi.repository import Gtk
  File "C:\Python34\lib\site-packages\gi\importer.py", line 100, in find_module
'introspection typelib not found' % namespace)
ImportError: cannot import name Gtk, introspection typelib not found

重要な場合:ここ
から Windows 10
Python 3.4.3
PyGi

4

0 に答える 0