[problem help] uos.app.autokey-gtk包不能用
Tofloor
poster avatar
毛毛虫
deepin
2024-09-13 18:30
Author

报错日志如下:

$ autokey-qt
/usr/bin/autokey-qt:6: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
from pkg_resources import load_entry_point
/usr/lib/python3/dist-packages/autokey/model/helpers.py:21: SyntaxWarning: invalid escape sequence '\w'
DEFAULT_WORDCHAR_REGEX = '[\w]'
/usr/lib/python3/dist-packages/autokey/model/abstract_abbreviation.py:143: SyntaxWarning: invalid escape sequence '\s'
if len(stringBefore) > 0 and not re.match('(^\s)', stringBefore[-1]) and not self.triggerInside:
/usr/lib/python3/dist-packages/autokey/model/key.py:122: SyntaxWarning: invalid escape sequence '+'
KEY_SPLIT_RE = re.compile("(<[^<>]+>+?)")
Traceback (most recent call last):
File "/usr/bin/autokey-qt", line 11, in
load_entry_point('autokey==0.96.0', 'console_scripts', 'autokey-qt')()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 536, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 2931, in load_entry_point
return ep.load()
^^^^^^^^^
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 2518, in load
return self.resolve()
^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 2524, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/autokey/qtui/main.py", line 23, in
from autokey.qtapp import Application
File "/usr/lib/python3/dist-packages/autokey/qtapp.py", line 35, in
from autokey import service, monitor
File "/usr/lib/python3/dist-packages/autokey/monitor.py", line 23, in
from pyinotify import WatchManager, Notifier, EventsCodes, ProcessEvent
File "/usr/lib/python3/dist-packages/pyinotify.py", line 71, in
import asyncore
ModuleNotFoundError: No module named 'asyncore'

$ python -V
Python 3.10.13

Reply Favorite View the author
All Replies

No replies yet