aidygus / LinVAM

Linux Voice Activated Macro
GNU General Public License v3.0
58 stars 6 forks source link

No module named 'Xlib' #5

Open eatyofood opened 3 years ago

eatyofood commented 3 years ago

python will import Xlib from my base conda enviroment but not when i run the script...

Traceback (most recent call last): File "./main.py", line 6, in from profileeditwnd import ProfileEditWnd File "/home/brando/algos/AudioPython/LinVAM/profileeditwnd.py", line 7, in from profileexecutor import * File "/home/brando/algos/AudioPython/LinVAM/profileexecutor.py", line 2, in from pynput.mouse import Button, Controller File "/home/brando/algos/AudioPython/LinVAM/pynput/init.py", line 41, in from . import mouse File "/home/brando/algos/AudioPython/LinVAM/pynput/mouse/init.py", line 48, in from ._xorg import Button, Controller, Listener File "/home/brando/algos/AudioPython/LinVAM/pynput/mouse/_xorg.py", line 32, in import Xlib.display ModuleNotFoundError: No module named 'Xlib'

smirgol commented 2 years ago

Do you run LinVAM as root or without? Did you try a pip3 install Xlib?