Xdo builds fine on my Ubuntu-based machine, however transporting it to Manjaro/Arch has been a different story.
Trying both
sudo pip install python-libxdo
# and
sudo pip install https://github.com/rshk/python-libxdo/tarball/master
The program crashes upon importing:
File "voice_assistant.py", line 12, in <module>
from xdo import Xdo
File "/usr/lib/python3.7/site-packages/xdo/__init__.py", line 10, in <module>
from .xdo import libX11 as _libX11
File "/usr/lib/python3.7/site-packages/xdo/xdo.py", line 380, in <module>
libxdo.xdo_new.argtypes = (c_char_p,)
File "/usr/lib/python3.7/ctypes/__init__.py", line 369, in __getattr__
func = self.__getitem__(name)
File "/usr/lib/python3.7/ctypes/__init__.py", line 374, in __getitem__
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: python: undefined symbol: xdo_new
Ran with python 3, 3.7 and with 2 there seems to be no SpeechRecognition package (and it's going out of date anyways...)
Xdo builds fine on my Ubuntu-based machine, however transporting it to Manjaro/Arch has been a different story.
Trying both
The program crashes upon importing:
Ran with python 3, 3.7 and with 2 there seems to be no SpeechRecognition package (and it's going out of date anyways...)