The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Issue with MPD python library after Moode update
#1
Hi all,
here's my first post after severl months of abscence. This morning I updated my system (RPi3 based) to the last Moode Version (I had version 7.0 before). 
I have a python script continuosly running getting info from MPD , to print on an OLED 16x2 display the info related to the currenly playing track.
I try to run from the command line the python script, but the infamous "No module named mpd" message appears.

(In the code , the line is simply "from mpd import MPDClient".)

Then I try to install the missing library (as done anytime in the past I made a re-installation from scratch of Moode), but without success.
I tried:
1) sudo apt-get install python-mpd
2) sudo apt-get install python-mpd2
3) sudo pip install python-mpd
4) sudo pip install python-mpd2

No one of the above ones works. Any ideas? I tried also to make a simple "sudo apt-get install update" then "sudo apt-get install upgrade", but with non success.
Any idea?

thanks in advance, and Happy New Year to all the forum participants

Andrea (from Italy, apologize for bad english)
Reply


Messages In This Thread
Issue with MPD python library after Moode update - by mancio61 - 01-15-2022, 01:01 PM

Forum Jump: