Kinect / PyKinect2

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

Could not find module 'Kinect20' (or one of its dependencies). #97

Closed mamoruoka closed 2 years ago

mamoruoka commented 2 years ago
  File "C:\anaconda\envs\py38\lib\site-packages\pykinect2\PyKinectV2.py", line 2873, in <module>
    class DefaultKinectSensor:
  File "C:\anaconda\envs\py38\lib\site-packages\pykinect2\PyKinectV2.py", line 2874, in DefaultKinectSensor
    _kinect20 = ctypes.WinDLL('Kinect20')
  File "C:\anaconda\envs\py38\lib\ctypes\__init__.py", line 373, in __init__    self._handle = _dlopen(self._name, mode)
FileNotFoundError: Could not find module 'Kinect20' (or one of its dependencies). Try using the full path with constructor syntax.

My environment is Anaconda 64bit python 3.8 Visual Studio Code 1.62.2

mamoruoka commented 2 years ago

I have just solved this problem by reinstalling Kinect for Windows SDK.