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 for k4a_module #127

Closed
tquintudelft-source opened this issue May 31, 2021 · 8 comments
Closed

DLL load failed for k4a_module #127

tquintudelft-source opened this issue May 31, 2021 · 8 comments

Comments

@tquintudelft-source
Copy link

Hi,

I'm currently getting this error when trying to run my python application:

DLL load failed while importing k4a_module: The specified module could not be found.

Both the /lib and /bin directories are in the PATH and pyk4a is installed in the environment. I've tried reinstalling the Azure SDK again and installing pyk4a in a new environment but no luck. A similar issue is also on this repo, but no concrete solution has been posted.

Any help would be appreciated.

@lpasselin
Copy link
Collaborator

Hi, check here.
#117 (comment)

There are two solutions proposed in that thread.

@tquintudelft-source
Copy link
Author

Hi, check here.
#117 (comment)

There are two solutions proposed in that thread.

Thanks, will take a look!

@lpasselin
Copy link
Collaborator

We've had this problem for a while now. We need to make sure it never happens again.
I will make a PR adding a try except over the failing line and redirect users to a FAQ page or a specific part of the README.md explaining a solution.

@shagren did you have to modify anything since your post here?

@shagren
Copy link
Contributor

shagren commented May 31, 2021

@lpasselin , I will propose some changes in few days

@qenops
Copy link
Contributor

qenops commented Jul 21, 2021

@shagren were these changes ever proposed/accepted? I've got some hacky code to load the dll by opening an MKV using open3d, which then enables pyk4a to be loaded. It looks like your branch might fix this, as well as simplifying the installation process.

@shagren
Copy link
Contributor

shagren commented Jul 22, 2021

@qenops , only @lpasselin know when next version will be released :)

@lpasselin
Copy link
Collaborator

New version 1.3.0 is released on pypi.
Support for windows automatic install was added. I hope it reduces our windows users problems!
Thanks again @shagren for the multiple PR. Your contribution is greatly appreciated!

@Shihab-Shahriar
Copy link

Just wanted to note that I have this problem in version 1.3.0. I'm on Windows.

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

5 participants