/LeapPythonMac

Just a bunch of kids trying to get LeapMotion SDK working with python3+ on Mac

Primary LanguagePython

Python3+ Leap Motion SDK on Mac

Requirements (install with brew):

  • C++ compiler (tested with clang 4.2.1)
  • swig

Clone this repo and download the latest version of the Leap Motion SDK into it.

Then just run, replacing <python> with whichever version of python you want to make bindings for (tested with python3.6)

make all PYTHON=<python>

And making sure your Leap Motion is plugged in, you should be able to run the sample program

<python> Sample.py

If you want to start again or use a different python version, just run

make clean