Skip to content
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

No module named 'Xlib' #5

Open
eatyofood opened this issue Mar 19, 2021 · 1 comment
Open

No module named 'Xlib' #5

eatyofood opened this issue Mar 19, 2021 · 1 comment

Comments

@eatyofood
Copy link

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
Copy link

smirgol commented Jul 20, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants