ich steh grad auf m Schlauch. Wie bekomm ich "pip3 install..." zum Laufen?
Code:
sudo: pip3: command not found
Danke und Grüße
Thorsten
sudo: pip3: command not found
sh.Bad.play_tunein('NDR 2 NDS')
[LIST][*]2016-11-22 22:06:21 ERROR Main Error parsing sonos broker response![*]Error: 'SonosSpeaker' object has no attribute 'sonos_playlists'[*]2016-11-22 22:02:06 WARNING Main No broker url given, assuming current ip and default broker port: http://192.168.8.58:12900[/LIST]
admin@raspberrypi:~$ sudo systemctl status sonos_broker -l ● sonos_broker.service - Sonos Broker Loaded: loaded (/etc/systemd/system/sonos_broker.service; enabled) Active: failed (Result: start-limit) since Tue 2016-11-22 19:39:34 CET; 2min 5s ago Process: 1023 ExecStart=/usr/local/lib/python3.5/site-packages/lib_sonos/sonos_broker start (code=exited, status=203/EXEC) Nov 22 19:39:34 raspberrypi systemd[1]: Failed to start Sonos Broker. Nov 22 19:39:34 raspberrypi systemd[1]: Unit sonos_broker.service entered failed state. Nov 22 19:39:34 raspberrypi systemd[1]: sonos_broker.service holdoff time over, scheduling restart. Nov 22 19:39:34 raspberrypi systemd[1]: Stopping Sonos Broker... Nov 22 19:39:34 raspberrypi systemd[1]: Starting Sonos Broker... Nov 22 19:39:34 raspberrypi systemd[1]: sonos_broker.service start request repeated too quickly, refusing to start. Nov 22 19:39:34 raspberrypi systemd[1]: Failed to start Sonos Broker. Nov 22 19:39:34 raspberrypi systemd[1]: Unit sonos_broker.service entered failed state.
[Unit] Description=Sonos Broker [Service] Type=simple User=pfischi PIDFile=/tmp/sonos_broker.pid ExecStart=/usr/local/bin/sonos_broker start -c /usr/local/bin/sonos_broker.cfg ExecStop=/usr/local/bin/sonos_broker stop RestartSec=10 [Install] WantedBy=default.target
sudo systemctl enable sonos_broker.service
sudo systemctl start sonos_broker.service
admin@raspberrypi:~$ sudo systemctl status sonos_broker -l ● sonos_broker.service - Sonos Broker Loaded: loaded (/etc/systemd/system/sonos_broker.service; enabled) Active: failed (Result: start-limit) since Tue 2016-11-22 19:39:34 CET; 2min 5s ago Process: 1023 ExecStart=/usr/local/lib/python3.5/site-packages/lib_sonos/sonos_broker start (code=exited, status=203/EXEC) Nov 22 19:39:34 raspberrypi systemd[1]: Failed to start Sonos Broker. Nov 22 19:39:34 raspberrypi systemd[1]: Unit sonos_broker.service entered failed state. Nov 22 19:39:34 raspberrypi systemd[1]: sonos_broker.service holdoff time over, scheduling restart. Nov 22 19:39:34 raspberrypi systemd[1]: Stopping Sonos Broker... Nov 22 19:39:34 raspberrypi systemd[1]: Starting Sonos Broker... Nov 22 19:39:34 raspberrypi systemd[1]: sonos_broker.service start request repeated too quickly, refusing to start. Nov 22 19:39:34 raspberrypi systemd[1]: Failed to start Sonos Broker. Nov 22 19:39:34 raspberrypi systemd[1]: Unit sonos_broker.service entered failed state.
Type=forking
/usr/local/lib/python3.5/dist-packages/sonos_broker
/usr/local/lib/python3.5/site-packages/lib_sonos/
admin@raspberrypi:~$ sudo systemctl status sonos_broker -l ● sonos_broker.service - Sonos Broker Loaded: loaded (/etc/systemd/system/sonos_broker.service; enabled) Active: failed (Result: start-limit) since Tue 2016-11-22 18:24:56 CET; 40s ago Process: 985 ExecStop=/usr/local/lib/python3.5/site-packages/lib_sonos/sonos_broker stop (code=exited, status=203/EXEC) Process: 975 ExecStart=/usr/local/lib/python3.5/site-packages/lib_sonos/sonos_broker start (code=exited, status=203/EXEC) Main PID: 975 (code=exited, status=203/EXEC) Nov 22 18:24:55 raspberrypi systemd[1]: sonos_broker.service: control process exited, code=exited status=203 Nov 22 18:24:55 raspberrypi systemd[1]: Unit sonos_broker.service entered failed state. Nov 22 18:24:56 raspberrypi systemd[1]: sonos_broker.service holdoff time over, scheduling restart. Nov 22 18:24:56 raspberrypi systemd[1]: Stopping Sonos Broker... Nov 22 18:24:56 raspberrypi systemd[1]: Starting Sonos Broker... Nov 22 18:24:56 raspberrypi systemd[1]: sonos_broker.service start request repeated too quickly, refusing to start. Nov 22 18:24:56 raspberrypi systemd[1]: Failed to start Sonos Broker. Nov 22 18:24:56 raspberrypi systemd[1]: Unit sonos_broker.service entered failed state.
ExecStart=/path/to/broker/sonos_broker start ExecStop=/path/to/broker/sonos_broker stop
/usr/local/lib/python3.5/dist-packages/sonos_broker
sudo cp sonos_broker.service /etc/systemd/system/
sudo systemctl enable sonos_broker
sudo systemctl daemon-reload
sudo systemctl start sonos_broker
sudo systemctl stop sonos_broker
sudo systemctl status sonos_broker
su admin -c '/usr/local/bin/sonos_broker'
su admin -c '/usr/local/bin/sonos_broker start'
su admin -c '/usr/local/bin/sonos_broker'
su admin -c '/usr/local/bin/sonos_broker start'
sonos_broker start [-d] [-c]
[LIST][*]2016-11-21 16:05:30 WARNING Main Could not send sonos notification: {'command': 'sonos_broker_version'}. Error: HTTPConnectionPool(host='192.168.8.58', port=12900): Max retries exceeded with url: / (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x722a0a30>: Failed to establish a new connection: [Errno 111] Verbindungsaufbau abgelehnt',))[*]2016-11-21 16:05:30 DEBUG Main sonos-update next time: 2016-11-21 16:05:45+01:00[*]2016-11-21 16:05:31 INFO sonos Starting new HTTP connection (1): 192.168.8.58[*]2016-11-21 16:05:31 WARNING sonos Could not send sonos notification: {'parameter': {'ip': '192.168.8.58', 'port': 9999}, 'command': 'client_subscribe'}. Error: HTTPConnectionPool(host='192.168.8.58', port=12900): Max retries exceeded with url: / (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x722507b0>: Failed to establish a new connection: [Errno 111] Verbindungsaufbau abgelehnt',))[*]2016-11-21 16:05:31 INFO sonos Starting new HTTP connection (1): 192.168.8.58[*]2016-11-21 16:05:31 WARNING sonos Could not send sonos notification: {'parameter': {'group_command': 0, 'uid': 'rincon_5caafd4e67b601400'}, 'command': 'current_state'}. Error: HTTPConnectionPool(host='192.168.8.58', port=12900): Max retries exceeded with url: / (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x722507b0>: Failed to establish a new connection: [Errno 111] Verbindungsaufbau abgelehnt',))[*]2016-11-21 16:05:45 INFO sonos-update Starting new HTTP connection (1): 192.168.8.58[*]2016-11-21 16:05:45 WARNING sonos-update Could not send sonos notification: {'parameter': {'ip': '192.168.8.58', 'port': 9999}, 'command': 'client_subscribe'}. Error: HTTPConnectionPool(host='192.168.8.58', port=12900): Max retries exceeded with url: / (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x71966bb0>: Failed to establish a new connection: [Errno 111] Verbindungsaufbau abgelehnt',))[*]2016-11-21 16:05:45 INFO sonos-update Starting new HTTP connection (1): 192.168.8.58[*]2016-11-21 16:05:45 WARNING sonos-update Could not send sonos notification: {'parameter': {'group_command': 0, 'uid': 'rincon_5caafd4e67b601400'}, 'command': 'current_state'}. Error: HTTPConnectionPool(host='192.168.8.58', port=12900): Max retries exceeded with url: / (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x71974710>: Failed to establish a new connection: [Errno 111] Verbindungsaufbau abgelehnt',))[*]2016-11-21 16:05:45 DEBUG Scheduler sonos-update next time: 2016-11-21 16:07:45+01:00[/LIST]
[LIST][*]2016-11-21 16:05:30 WARNING Main No broker url given, assuming current ip and default broker port: http://192.168.8.58:12900[*]2016-11-21 16:05:30 WARNING Main Could not send sonos notification: {'command': 'sonos_broker_version'}. Error: HTTPConnectionPool(host='192.168.8.58', port=12900): Max retries exceeded with url: / (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x722a0a30>: Failed to establish a new connection: [Errno 111] Verbindungsaufbau abgelehnt',))[*]2016-11-21 16:05:30 WARNING Main Unknown Sonos broker version string 'None.'[/LIST]
(#)/usr/local/bin:$ chmod +x sonos_broker (#)/usr/local/bin:$ ./sonos_broker Unknown command!
Wir verarbeiten personenbezogene Daten über die Nutzer unserer Website mithilfe von Cookies und anderen Technologien, um unsere Dienste bereitzustellen. Weitere Informationen findest Du in unserer Datenschutzerklärung.
Indem Du unten auf "ICH stimme zu" klickst, stimmst Du unserer Datenschutzerklärung und unseren persönlichen Datenverarbeitungs- und Cookie-Praktiken zu, wie darin beschrieben. Du erkennst außerdem an, dass dieses Forum möglicherweise außerhalb Deines Landes gehostet wird und bist damit einverstanden, dass Deine Daten in dem Land, in dem dieses Forum gehostet wird, gesammelt, gespeichert und verarbeitet werden.
Einen Kommentar schreiben: