Jump to content

Recommended Posts

Posted

Hallo!

 

Mit dem Raspberry ging es einwandfrei. Der ist gerade im Büro. Wollte also kurz mit meine Mac (10.13.3) und brick-mqtt-proxy.py etwas checken. Die Voraussetzungen sind erfüllt.

 

ABER : nach

python brick-mqtt-proxy.py 

kommt die Fehlermeldung

 

Traceback (most recent call last):
  File "brick-mqtt-proxy.py", line 47, in <module>
    from tinkerforge.brick_silent_stepper import BrickSilentStepper
ImportError: No module named brick_silent_stepper

 

Alle Importe vorher bis Zeile 47 gingen anscheinend. Die Dateien tinkerforge.brick_silent_stepper.py und tinkerforge.brick_silent_stepper.pyc liegen bei -- wie alle anderen -- in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/tinkerforge. Das Python-Beispiel der Bindings mit dem Stepper Brick funktioniert auch.

 

Was habe ich da übersehen? Hat das schon mal einer auf dem Mac erfolgreich getestet?

 

Gruß, Uwe

 

Posted

Auf einem MacBookPro nach den selben Schritten der Installation ... funktioniert das Skript ohne abzubrechen.

 

Ich habe mit Python bei Null angefangen, da war wohl etwas ... korrupt. Jetzt geht's!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...