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

Installing pylibfreenect2 tut #47

Closed
dhruvdesmond opened this issue Jan 3, 2018 · 10 comments
Closed

Installing pylibfreenect2 tut #47

dhruvdesmond opened this issue Jan 3, 2018 · 10 comments

Comments

@dhruvdesmond
Copy link

I installed freenect2 from this link https://github.com/OpenKinect/libfreenect2.
When I run your setup it fails . How to change config.h file location beacuse it give config.h not exist.
Protonect example works I checked.
I am sorry for ssuch stupid question but I am a begineer.

@r9y9
Copy link
Owner

r9y9 commented Jan 3, 2018

Seems dup of #28. See the discussion and let me know if you find a solution.

@dhruvdesmond
Copy link
Author

Still nothing.
I tried python setup.py install.
I get this

dhruv@dh-7537:~$ python setup.py install
Traceback (most recent call last):
File "setup.py", line 1, in
import _pyfreenect2
ImportError: No module named _pyfreenect2

@r9y9
Copy link
Owner

r9y9 commented Jan 4, 2018

Ok, seems dup of #9. Please see my comment #9 (comment). You are trying to install different package.

@dhruvdesmond
Copy link
Author

How to do this ?
You have set LIBFREENECT2_INSTALL_PREFIX environmental variable (default: /usr/local/).
What is the command.

@r9y9
Copy link
Owner

r9y9 commented Jan 4, 2018

To be sure, are you trying to install pylibfreenect2, not pyfreenect2?

@dhruvdesmond
Copy link
Author

yes pylibfreenect2

@dhruvdesmond
Copy link
Author

For skeleton tracking using Kinect2. Any other library are also there for that. If Any please do suggest

@r9y9
Copy link
Owner

r9y9 commented Jan 4, 2018

Google it with "how to set environment variable" to learn how. In short, assuming you are on linux, then type the following command in your terminal:

export LIBFREENECT2_INSTALL_PREFIX=${your libfreenect install path}

@r9y9
Copy link
Owner

r9y9 commented Jan 4, 2018

libfreenect2 doesn't support skeleton tracking. I'd suggest you to use the official Kinect-SDK or https://github.com/Kinect/PyKinect2.

@dhruvdesmond
Copy link
Author

Thanks. Will look into it.

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

2 participants