-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not working in Python 3.12 due to pyinotify #916
Comments
Welcome to the AutoKey community, @elwint ! Good to know. Hopefully, you can wrap autokey-qt or autokey-gtk in a script that invokes it with Python 3.11 as a workaround or, maybe, symlink python to python3.11 until this can be addressed. We are very low on developer resources, so it may be a while before this can be addressed. |
I have the same issue. autokey doesn't work with python 3.12 on my machine. |
I just checked and AFAIK, I am running 3.12 on Kubuntu 22.04 but I don't see any Python components that look like they're greater than 3.10.
|
Try to install the pyasyncore Python package. It brings back asyncore that's deprecated. https://github.com/simonrob/pyasyncore It seems that Python has deprecated asyncore in version 3.6 and removed it in version 3.12 https://docs.python.org/3.11/library/asyncore.html asyncio should be used instead. pyinotify has to fix the code: seb-m/pyinotify#204 |
@josephj11 My quick workaround has been overwriting pyinotify.py in my pipx venv with troycurtisjr fixed version in seb-m/pyinotify#205 |
AutoKey is a Xorg application and will not function in a Wayland session. Do you use Xorg (X11) or Wayland?
Xorg
Has this issue already been reported?
Is this a question rather than an issue?
What type of issue is this?
None
Choose one or more terms that describe this issue:
Other terms that describe this issue if not provided above:
No response
Which Linux distribution did you use?
No response
Which AutoKey GUI did you use?
None
Which AutoKey version did you use?
No response
How did you install AutoKey?
No response
Can you briefly describe the issue?
ModuleNotFoundError: No module named 'asyncore'
Related to seb-m/pyinotify#204
Can the issue be reproduced?
None
What are the steps to reproduce the issue?
No response
What should have happened?
No response
What actually happened?
No response
Do you have screenshots?
No response
Can you provide the output of the AutoKey command?
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: