GithubHelp home page GithubHelp logo

Comments (4)

zachvin avatar zachvin commented on August 11, 2024 3

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.

Yudh0B avatar Yudh0B commented on August 11, 2024

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.

Elisa-code184 avatar Elisa-code184 commented on August 11, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.