Comments (4)
Did you check #37?
I got everything to work with 64-bit Anaconda v4.12.0 in a conda virtual environment with Python 3.6.13.
I just did all the instructions on the main github page, with these fixes:
pip install comtypes==1.1.4
- after pip installing pykinect2, replace the .py files in the pykinect2 folder in Anaconda with the matching .py files from the github
I believe this is everything you need to do to get this code running on a modern Anaconda install.
from pykinect2.
Did you check #37? I got everything to work with 64-bit Anaconda v4.12.0 in a conda virtual environment with Python 3.6.13. I just did all the instructions on the main github page, with these fixes:
pip install comtypes==1.1.4
- after pip installing pykinect2, replace the .py files in the pykinect2 folder in Anaconda with the matching .py files from the github
I believe this is everything you need to do to get this code running on a modern Anaconda install.
Traceback (most recent call last):
File "c:\TA\PyKinect2-master\examples\PyKinectBodyGame.py", line 1, in
from pykinect2 import PyKinectV2
File "C:\Users\grego.conda\envs\TA\lib\site-packages\pykinect2\PyKinectV2.py", line 5, in
import comtypes
File "C:\Users\grego.conda\envs\TA\lib\site-packages\comtypes_init_.py", line 381
except COMError, err:
i've done all the required installation, still ended up with that same error, even tried reinstalling everything related to PyKinect2
from pykinect2.
@Yudh0B I solved installing a less recent version of the Anaconda Environment and Python.
If I am not wrong, I solved it with Python 3.7 and Anaconda 1.7.2
But anyway, try to downgrade the version until it works, I assume there is a problem in some library versions.
The other option is open and run the single code and solve the issues. I found some syntax errors in some modules because written in Python 2. I gave up at a certain point, and I picked the above solution.
Hope it could help.
from pykinect2.
Related Issues (20)
- Can't import utils_PyKinectV2
- Related to 1.getting same values of pixel in entire column 2. frame resolution HOT 3
- Kinectv2 and python
- PyKinect2 Integration wih OpenCV for YOLOv3 throws an error of : Number of input channels should be multiple of 3 but got 4 in function HOT 1
- PyGame Examples Run but no Image is Display HOT 1
- pykinectv2报错NameError: name 'unicode' is not defined
- Anyone can provide video tutorial on setup? HOT 3
- Could not find module 'Kinect20' (or one of its dependencies). Try using the full path with constructor syntax
- argument 4: <class 'TypeError'>: expected LP__CameraSpacePoint instance instead of LP__CameraSpacePoint
- distortion and tilt HOT 5
- Picture from multiple kinects HOT 4
- How do i get the Euler Angle of a joint? HOT 1
- kinectv1 and python HOT 1
- PyKinectV2 name 'comtypes' is not defined HOT 1
- Import issue with PyKinectV2 HOT 2
- -
- Could not find module 'Kinect20' (or one of its dependencies). HOT 1
- black screen when opening HOT 7
- Body is not being detected HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pykinect2.