AutoKey - PyQt5 - Import Error

Hello everyone!

I’m trying to install AutoKey (pip install autokey). However, when I start the program (autokey-qt) I get this error:

File “/usr/lib/python3.8/site-packages/autokey/qtui/scriptpage.py”, line 20, in
from PyQt5 import Qsci
ImportError: /usr/lib/python3.8/site-packages/PyQt5/Qsci.abi3.so: undefined symbol: _ZdlPvm, version Qt_5

Does anyone have an idea on how to fix this?

Thanks!

Hello and welcome,

No, that is not the way to install autokey
pamac build autokey
or
pamac build autokey-patched
Both are in AUR, but only install one!

@bogdancovaciu same error using pamac, unfortunately.

I started having a similar problem (crash, different error) after an update a few weeks back. I finally narrowed it down to a missing dependency. In my case I was able to fix with pamac install python-qscintilla-qt5. I would suggest trying pamac info autokey and looking at which optional dependencies are not installed and seeing if installing them helps.