I imagine you installed it for python2 but you want it for python3. I don’t understand how these instructions were supposed to work.
apt-get install python3-pip
pip3 install python-mpd2
I imagine you installed it for python2 but you want it for python3. I don’t understand how these instructions were supposed to work.
apt-get install python3-pip
pip3 install python-mpd2
pip install python-mpd2 returns “requirement already satisfied” in a python2.7 directory.
I’m tempted to go from a clean build with only Python3 installed
Thanks again, I’ll post again if I get any further…
Cheers
Please, read my post again. I’m talking about python3 here as that is what you seem to be using.
Hi, the image was rather messy as I’d done all the testing for the retro radio build on it so have gone from a clean build and followed the instructions from scratch, made your code modification regarding import and it now stalls with:
Traceback (most recent call last):
File “main.py”, line 7, in
from line_controller import *
File “/root/raspi-mpd-lcd/line_controller.py”, line 232, in
class FetchLine(TextLine):
File “/root/raspi-mpd-lcd/line_controller.py”, line 233, in FetchLine
from urllib import request
ImportError: cannot import name request