Hallo Leute
Wenn ich die Zeile "sudo newtron-radio" in der Konsole eingebe, erhalte ich immer den Fehler:
Code
pi@raspberrypi:~ $ sudo newtron-radio
Traceback (most recent call last):
File "/usr/local/lib/newtron-v3/newtron_radio.py", line 19, in <module>
import mpd
ImportError: No module named 'mpd'
Kann mir da jemand helfen?
Bei der Installation ("sh ./newtron-radio-setup-v3.2.sh") erhalte ich immer den folgenden Fehler (der obere Teil ist normal, das habe ich nur reinkopiert damit man sieht was vorher passiert) :
Python
sh ./newtron-radio-setup-v3.2.sh
Verifying archive integrity... All good.
Uncompressing NewTron-Radio v3.2 Setup for Stretch and Buster
Starte die Installation...
mpd ist bereits installiert!
mpc ist bereits installiert!
python3-rpi.gpio ist bereits installiert!
python3-pip ist bereits installiert!
cython3 ist bereits installiert!
python3-pygame ist bereits installiert!
libts-bin ist bereits installiert!
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting pynanosvg
Using cached https://files.pythonhosted.org/packages/f5/c4/4488d5fd0798ac944effd4a0aab7e3e1b2a6e01816e6df850866970a2217/pynanosvg-0.3.1.tar.gz
ERROR: Command errored out with exit status 1:
command: /usr/local/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-1wl10417/pynanosvg/setup.py'"'"'; __file__='"'"'/tmp/pip-install-1wl10417/pynanosvg/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base pip-egg-info
cwd: /tmp/pip-install-1wl10417/pynanosvg/
Complete output (11 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python3.8/site-packages/setuptools/__init__.py", line 20, in <module>
from setuptools.dist import Distribution, Feature
File "/usr/local/lib/python3.8/site-packages/setuptools/dist.py", line 35, in <module>
from setuptools import windows_support
File "/usr/local/lib/python3.8/site-packages/setuptools/windows_support.py", line 2, in <module>
import ctypes
File "/usr/local/lib/python3.8/ctypes/__init__.py", line 7, in <module>
from _ctypes import Union, Structure, Array
ModuleNotFoundError: No module named '_ctypes'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
WARNING: You are using pip version 19.2.3, however version 20.0.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: python-mpd2 in /usr/local/lib/python3.8/site-packages (1.0.0)
WARNING: You are using pip version 19.2.3, however version 20.0.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Display More
Aber am Ende der Installation steht dann "Fertig!".
Was ist da nun das Problem?
Gruss
Bern