thobastian Geschrieben April 29, 2016 at 20:31 Share Geschrieben April 29, 2016 at 20:31 Ich versuche gerade den Proxy zu starten. Die installation funktionierte. aber das programm: brick-mqtt-proxy.py liess sich nicht starten. kennt jemand das Zitieren Link zu diesem Kommentar Share on other sites More sharing options...
photron Geschrieben May 2, 2016 at 07:31 Share Geschrieben May 2, 2016 at 07:31 Wie hast du es installiert? Wie genau äußert sich das nicht-starten können? Welche Fehlermeldung bekommst du? Zitieren Link zu diesem Kommentar Share on other sites More sharing options...
thobastian Geschrieben May 2, 2016 at 18:12 Autor Share Geschrieben May 2, 2016 at 18:12 genau laut eurer Anleitung auf http://www.tinkerforge.com/de/doc/Software/Brick_MQTT_Proxy.html ich bin als root eingeloggt und starte die installation: sudo pip install tinkerforge paho-mqtt dann wollte ich starten: python brick-mqtt-proxy.py oder brick-mqtt-proxy.py Zitieren Link zu diesem Kommentar Share on other sites More sharing options...
photron Geschrieben May 3, 2016 at 15:26 Share Geschrieben May 3, 2016 at 15:26 Okay und welche Fehlermeldung wird angezeigt? Zitieren Link zu diesem Kommentar Share on other sites More sharing options...
thobastian Geschrieben May 4, 2016 at 11:58 Autor Share Geschrieben May 4, 2016 at 11:58 ganz einfach. er findet das programm nicht. Ich weiß auch nicht , im welchen Verzeichnis. Zitieren Link zu diesem Kommentar Share on other sites More sharing options...
photron Geschrieben May 4, 2016 at 12:15 Share Geschrieben May 4, 2016 at 12:15 Ah! Du musst das Programm noch herunterladen. Das steh in der Anleitung (noch) nicht explizit drin: wget https://raw.githubusercontent.com/Tinkerforge/brick-mqtt-proxy/master/brick-mqtt-proxy.py Ich füge das gleich in die Anleitung mit ein. Zitieren Link zu diesem Kommentar Share on other sites More sharing options...
thobastian Geschrieben May 27, 2016 at 09:35 Autor Share Geschrieben May 27, 2016 at 09:35 okay, verstehe. Aber nun bekomme ich nach dem Kommando: "python brick-mqtt-proxy.py" erneut eine Fehlermeldung: Traceback (most recent call last): File "brick-mqtt-proxy.py", line 38, in <module> import paho.mqtt.client as mqtt # pip install paho-mqtt ImportError: No module named paho.mqtt.client Langsam glaube ich, Tinkerforge will keine grafische Oberfläche, die funktioniert. Es ist frustrierend. Zitieren Link zu diesem Kommentar Share on other sites More sharing options...
photron Geschrieben May 30, 2016 at 08:25 Share Geschrieben May 30, 2016 at 08:25 Du hast paho-mqtt nicht installiert. Hast du folgenden Schritt aus der Anleitung ausgeführt? sudo pip install tinkerforge paho-mqtt Zitieren Link zu diesem Kommentar Share on other sites More sharing options...
thobastian Geschrieben May 30, 2016 at 09:27 Autor Share Geschrieben May 30, 2016 at 09:27 Ja, das habe ich. Daran liegt es nicht. Hast Du noch eine idee? Zitieren Link zu diesem Kommentar Share on other sites More sharing options...
photron Geschrieben May 30, 2016 at 13:41 Share Geschrieben May 30, 2016 at 13:41 Auch danach bleibt der "ImportError: No module named paho.mqtt.client" Fehler? Bist du sicher das "sudo pip install tinkerforge paho-mqtt" geklappt hat? Was passiert wenn du Python so startest und dann am interaktiven Modus import paho.mqtt.client eingibst? Zitieren Link zu diesem Kommentar Share on other sites More sharing options...
thobastian Geschrieben May 30, 2016 at 13:53 Autor Share Geschrieben May 30, 2016 at 13:53 dann bekomme ich das: $ sudo pip install tinkerforge paho-mqtt Requirement already satisfied (use --upgrade to upgrade): tinkerforge in /usr/local/lib/python3.4/dist-packages Requirement already satisfied (use --upgrade to upgrade): paho-mqtt in /usr/local/lib/python3.4/dist-packages $ python Python 2.7.9 (default, Mar 8 2015, 00:52:26) [GCC 4.9.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import paho.mqtt.client Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named paho.mqtt.client >>> Zitieren Link zu diesem Kommentar Share on other sites More sharing options...
photron Geschrieben May 30, 2016 at 15:19 Share Geschrieben May 30, 2016 at 15:19 Okay, dein Python scheint etwas durch einander. pip installiert für Python 3. Dein Standard Python ist aber Python 2. das erklärt das Problem. Teste mal ob du auch pip2 hast, un für Python 2 zu installieren: sudo pip2 install tinkerforge paho-mqtt Zitieren Link zu diesem Kommentar Share on other sites More sharing options...
thobastian Geschrieben May 30, 2016 at 15:26 Autor Share Geschrieben May 30, 2016 at 15:26 Vielen Dank, das war es ! Schöne Grüße Thomas Zitieren Link zu diesem Kommentar Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.