Не могу получить автоключ на работу

После установки autokey я попытался запустить его:

autokey-gtk

Но я получил:

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

Итак, я исправил это и получил еще некоторые проблемы, и я их исправил:

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

Теперь я получаю ошибку:

/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

Но я понятия не имею, как это исправить! Кто-нибудь знает, что мне теперь делать?

3
задан 27 December 2017 в 18:16

0 ответов

Другие вопросы по тегам:

Похожие вопросы: