Ich habe keine Erfahrung Programmierung von Leap Motion, und ich habe versucht, die Sample.py Datei auf Python2.7 (auf IOS Sierra, 10.12.3). Aber es gibt mir immer folgende Fehlermeldung: Fatal Python Fehler: PyThreadState_Get: keine aktuellen Thread Abort trap: 6Leap Motion Fehler: Fatal Python Fehler: PyThreadState_Get: kein aktueller Thread Abbruch Trap: 6
Wenn ich versuche,
which python2.7
I
bekommen/opt/local/bin/python2.7
Als ich run
otool -L LeapPython.so
bekomme ich
LeapPython.so:
/opt/local/bin/python2.7/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib (compatibility version 2.7.0, current version 2.7.0)
@loader_path/libLeap.dylib (compatibility version 0.7.0, current version 2.3.1)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 120.0.0)
Ich habe ein paar Python-Versionen in meinem Betriebssystem. Als ich sudo port select --list python
laufen ich
Available versions for python:
none
python26-apple
python27
python27-apple (active)
Was geschieht ... Bitte helfen !! Vielen herzlichen Dank.
Thank you!aber wenn ich versuchte, Sudo-Port zu wählen, wählen Sie --set python python27, der Python-Pfad, den ich hinterher bekomme, ist immer noch/opt/local/bin/python anstelle von/opt/local/bin/python27. Es funktioniert also nicht wirklich :( –