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
#2
@mancio61

Choice #4 works here in Maryland

Code:
pi@rpi4b:~ $ sudo pip install python-mpd2
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting python-mpd2
 Downloading https://files.pythonhosted.org/packages/f4/95/8f1230e533761a55ffea7c76317c766d3fc8f57f1763ab94dac8e448a901/python_mpd2-1.1.0-py2.py3-none-any.whl
Installing collected packages: python-mpd2
Successfully installed python-mpd2-1.1.0

(note that host rpi4b is a moOde 7.6.1 player)

As an aside, note that Python 2 is still the default because moOde 7.6.1 is based on RaspiOS/Debian Buster.

Code:
pi@rpi4b:~ $ python -V
Python 2.7.16

This will change with the move to RaspiOS/Debian Bullseye for moOde 8.

ETA: If one runs pip3 instead, one gets a module with the same name and different version number

Code:
pi@rpi4b:~ $ sudo pip3 install python-mpd2
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting python-mpd2
 Downloading https://files.pythonhosted.org/packages/09/bc/d9cf9751320686b6686ff241f8017c4c516c4d2e681702847eb404aea946/python_mpd2-3.0.4-py2.py3-none-any.whl
Installing collected packages: python-mpd2
Successfully installed python-mpd2-3.0.4

You'll have to work out what you want.

Regards,
Kent
Reply


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

Forum Jump: