Can't run Sample.py with Python 3.3
I copied all the four files(LeapPython.pyd, Leap.py, Leap.dll, Sample.py) in the same folder(LeapSDK\samples). Then in Windows Powershell, run Python sample.py. There are some errors:
Traceback (most recent call last):
File "sample.py", line 9, in
import Leap, sys
File "E:\leapdeveloperkit\leapsdk\samples\Leap.py", line 26, in
LeapPython = swigimporthelper()
File "E:\leapdeveloperkit\leapsdk\samples\Leap.py", line 22, in swigimporthelper
mod = imp.loadmodule('LeapPython', fp, pathname, description)
File "E:\Python33\lib\imp.py", line 183, in loadmodule
return loaddynamic(name, filename, file)
ImportError: DLL load failed: %1 is not a valid Win32 application.
I tried that in two environment. One is 32-bit win7 (use *86 Leap.dll and LeapPython.pyd for it), the other is 64-bit win8(use *64 Leap.dll and LeapPython.pyd for it). And got the same errors.
So how could I get to run it?
BTW, I tried C++ version sample.cpp. It can run successfully.