Open thefoster opened 3 years ago
I'm afraid you've broken your Debian installation :/
You should never use sudo pip install
: system packages are managed by your distribution's package manager (apt), whereas language package managers don't know how that part is supposed to work.
Have you tried running it in a virtualenv?
mkdir -p ~/mpdlcd
python3 -m venv ~/mpdlcd/venv
. ~/mpdlcd/venv/bin/activate
pip install mpdlcd
Thanks for your reply. It is actually a Volumio, but i'm aware that pip with priviledged rights isn't harmless. But as those modules don't exist (al least not in the proper version), i gave that a try, AFAIK they didn't overwrite system python modules. I'm pretty sure i managed that before (with a different LCD), but can't remember the trick for mpdlcd, how to avoid that error message.
After installing mpdlcd (sudo pip install mpdlcd) and the various python dependancies i couldn't get it to run. LCDd basically works (listener on localhost:13666), but mpdlcd (0.5.2) fails to start:
sudo pip install configparser
doesn't seem to install that module properly (says installed, but doesn't appear in pip list) Even tried to switch to python3 (sudo ln -sf /usr/bin/python3 /usr/bin/python), which leads to other errors:I didn't think enabling the LCD would be such an effort/mess. Do you have any ideas from developers sight?
BR