Kinect / PyKinect2

Wrapper to expose Kinect for Windows v2 API in Python
MIT License
496 stars 236 forks source link

asset fails on sizeof == 72 #17

Closed drglitch closed 7 years ago

drglitch commented 9 years ago

Actual sizeof reported is 80. please investigate

josefmonje commented 9 years ago
----> 1 from pykinect2 import PyKinectV2

C:\Python27\lib\site-packages\pykinect2\PyKinectV2.py in <module>()
   2214     ('reserved', c_ulong),
   2215 ]
-> 2216 assert sizeof(tagSTATSTG) == 72, sizeof(tagSTATSTG)
   2217 assert alignment(tagSTATSTG) == 8, alignment(tagSTATSTG)
   2218 IAudioBeamList._methods_ = [

AssertionError: 80
luochenhuan commented 8 years ago

@drglitch I had the same issue. Then I uninstalled 64-bit version and installed the 32-bit Anaconda. It solves the problem, though I don't know why we cannot use 64-bit Anaconda, which also includes NumPy.

SSchwoebel commented 8 years ago

I have the same issue. I have a 64-Bit Anaconda installed, and I tried to set up a separate 32-Bit environment with it, but the same assertion error keeps popping up. I can not uninstall my Anaconda, because I have it set up for other projects needing 64-Bit. Can someone point me to a solution that does not require uninstalling my set up?