Hello I am receiving the following error when importing the Leap SDK
Traceback (most recent call last):
File "test.py", line 1, in <module>
import lib.Leap
File "/Volumes/Untitled/LeapMotion/Dev/lib/Leap.py", line 29, in <module>
LeapPython = swig_import_helper()
File "/Volumes/Untitled/LeapMotion/Dev/lib/Leap.py", line 25, in swig_import_helper
_mod = imp.load_module('LeapPython', fp, pathname, description)
ImportError: dlopen(/Volumes/Untitled/LeapMotion/Dev/lib/LeapPython.so, 2): Library not loaded: /Library/Frameworks/Python.framework/Versions/2.7/Python
Referenced from: /Volumes/Untitled/LeapMotion/Dev/lib/LeapPython.so
Reason: image not found
This is my test.py file
import sys
sys.path.insert(0, "../lib")
import Leap
and this is my file tree:
\lib
\Leap.py
\LeapPython.so
\libLeap.dylib
\src
\test.py