antnieszka / GestureMusicPlayer

Control music player with hand gestures
11 stars 7 forks source link

Issues with vlc-ctrl on Windows #2

Open antnieszka opened 4 years ago

antnieszka commented 4 years ago
GestureMusicPlayer-py3/venv/lib/python3.8/site-packages/vlc_ctrl/player.py", line 1, in <module>
    import dbus
ModuleNotFoundError: No module named 'dbus'

causes: subprocess.CalledProcessError: Command '['vlc-ctrl', 'play']' returned non-zero exit status 1.

Consider using https://wiki.videolan.org/Python_bindings/

SehejBakshi commented 4 years ago

@antnieszka Could you please tell me how to run this so I can try to debug this?

antnieszka commented 4 years ago

I run it on Linux/Manjaro like this:

$ python3 -V
Python 3.8.5

$ python3 -m venv venv

$ source venv/bin/activate

$ pip install -r requirements.txt

# this one may be different on other distros and afaik TKinter is preinstalled with python on windows
$ sudo pacman -S tk

then simply: python main.py worked.