• Autokey-py3 does not run in MATE


    Installed the updated Autokey-py3 (which is an updated Autokey-gtk) and when I try to start the program nothing happens. Starting the program in terminal brings up the following:

    [[email protected]~]$ /bin/autokey-gtk
    installed with “pip install -e”
    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 "/bin/autokey-gtk", line 28, in <module>
        from autokey.gtkapp import Application
      File "/usr/lib/python3.4/site-packages/autokey/gtkapp.py", line 31, in <module>
        from .gtkui.configwindow import ConfigWindow
      File "/usr/lib/python3.4/site-packages/autokey/gtkui/configwindow.py", line 20, in <module>
        from gi.repository import Gtk, Pango, GtkSource, Gdk, Gio
      File "/usr/lib/python3.4/site-packages/gi/importer.py", line 144, in find_module
        'introspection typelib not found' % namespace)
    ImportError: cannot import name GtkSource, introspection typelib not found
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/bin/autokey-gtk", line 31, in <module>
        from src.lib.gtkapp import Application
    ImportError: No module named 'src'
    
  • Found the issue. Needed to install gtksourceview3 3.16.1-1 afterwards. It’s running now. Can mark this as solved.

mate52 installation214 autokey-py31 Posts 2Views 937
Log in to reply