Enable Leap motion and 3D slicer to work together


Operating system:win10
Slicer version:4.11.0
Expected behavior:
Actual behavior:

Hi,everyone. These days i am trying to get leap motion to work with Slicer, and i attended to add an old module python code to 3D slicer, then i have this problem -----ImportError: No module named ‘LeapPython’ , so i search for solution on Internet. It turns out that i need older python version(i.e 3.3.0),therefore i would like to ask “is there a way to change the python version (now is Python 3.6.7) on slicer 4.11.0 to old python version?” .Any help would be appreciated .

(Jean Christophe Fillion Robin) #2

We recently discussed what is missing to add support for Leap motion. In a nutshell, the bindings available with the v3.2 of Leap motion SDK would need to be re-generated and compiled for python 3.

This is discussed at length in this post: SlicerLeapMotionControl in Slicer 4.11.0

We welcome contributions and if you would like to help out, we are happy to provide guidance. To move forward, consider adding comments and questions in the post referenced above.