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

DLL load failed while importing k4a_module #80

Closed
ozgucbertug opened this issue Nov 14, 2020 · 2 comments
Closed

DLL load failed while importing k4a_module #80

ozgucbertug opened this issue Nov 14, 2020 · 2 comments

Comments

@ozgucbertug
Copy link

ozgucbertug commented Nov 14, 2020

Building the library works fine however when I try to run the example code on Windows, I receive ImportError: DLL load failed while importing k4a_module: The specified module could not be found. Seems like #60 issues still persist. I am using python version 3.8.5

File "c:\Users\Ozguc\Documents\GitHub\KinectAzureDepthMapping\main.py", line 1, in
from pyk4a import PyK4A
File "C:\Users\Ozguc\anaconda3\envs\azure\lib\site-packages\pyk4a_init_.py", line 1, in
from .calibration import Calibration, CalibrationType
File "C:\Users\Ozguc\anaconda3\envs\azure\lib\site-packages\pyk4a\calibration.py", line 4, in
import k4a_module
ImportError: DLL load failed while importing k4a_module: The specified module could not be found.

@lpasselin
Copy link
Collaborator

Did you try with pip option --no-use-pep517 ?

Also what is your pip version?

@ozgucbertug
Copy link
Author

I've tried with the option --no-use-pep517 on pip version 20.2.4. Today I've created a new environment and re-entered the DLL directory to PATH. This solved the issue.

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