Não é possível fazer o autokey funcionar

1

Após instalar o autokey, tentei executá-lo por:

autokey-gtk

Mas eu tenho:

Traceback (most recent call last):
  File "/usr/local/bin/autokey-gtk", line 20, in <module>
    from autokey.gtkapp import Application
  File "/usr/local/lib/python2.7/dist-packages/autokey/gtkapp.py", line 18, in <module>
    import common
  File "/usr/local/lib/python2.7/dist-packages/autokey/common.py", line 19, in <module>
    import os.path, dbus.service
ImportError: No module named dbus.service

Então eu consertei e consegui mais alguns problemas e os consertei:

sudo apt-get install --reinstall software-center python-dbus
sudo apt-get install --reinstall python-gi
sudo apt-get install --reinstall python-xlib

Agora, o erro que recebo é:

/usr/local/lib/python2.7/dist-packages/autokey/gtkapp.py:24: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk, Gdk, GObject, GLib
/usr/local/lib/python2.7/dist-packages/autokey/gtkui/notifier.py:19: PyGIWarning: Notify was imported without specifying a version first. Use gi.require_version('Notify', '0.7') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk, Gdk, Notify
/usr/local/lib/python2.7/dist-packages/autokey/gtkui/notifier.py:28: PyGIWarning: AppIndicator3 was imported without specifying a version first. Use gi.require_version('AppIndicator3', '0.1') before import to ensure that the right version gets loaded.
  from gi.repository import AppIndicator3
/usr/local/lib/python2.7/dist-packages/autokey/gtkui/configwindow.py:20: PyGIWarning: GtkSource was imported without specifying a version first. Use gi.require_version('GtkSource', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk, Pango, GtkSource, Gdk, Gio

Mas não tenho ideia de como consertar isso! Alguém tem alguma idéia do que devo fazer agora?

    
por yukashima huksay 27.12.2017 / 16:06

0 respostas