Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't import python3 wrapper (ModuleNotFoundError: No module named 'freenect') #683

Open
Looki2000 opened this issue Mar 5, 2024 · 1 comment

Comments

@Looki2000
Copy link

Looki2000 commented Mar 5, 2024

I'm trying to build libfreenect wrapper for python 3 on Raspberry OS (pi 3 B) but I can't import it. There are no errrors when building it. (freenect-glview is working fine) Running python3 with sudo and restarting the terminal does not help. freenect is not present in pip list
I have tried to follow the official build Instructions and this (I had to set DCYTHON_EXECUTABLE to /usr/local/bin/cython).
How can I fix that?

@Looki2000
Copy link
Author

I managed to make it work by copying freenect.so into every possible site-packages and dist-packages locations of python3/3.9 and it started to work. Sadly, it's not very smooth, spams a lot of [Stream 70] Invalid magic ####, the IR projector stays on after everything closes and I have to run freenect-micview each time I plug in the Kinect to upload the firmware. (Kinect for Windows).
I think I will try to make the official primesense python library work on ARM raspi.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant