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

Permissions error when importing _framework_bindings.pyd file in mediapipe package #82

Open
alex5105 opened this issue Oct 16, 2024 · 1 comment
Assignees

Comments

@alex5105
Copy link
Collaborator

alex5105 commented Oct 16, 2024

While compiling FaceCommander using Nuitka, an issue occurs with the mediapipe package. Specifically, an ImportError is raised due to permission issues when trying to load the _framework_bindings.pyd file. The error message is:

ImportError: LoadLibraryExW 'D:\workspace\python\AI\Face\FaceCommander\dist\FaceCommander.dist\mediapipe\python_framework_bindings.pyd' failed: Access is denied.

@alex5105
Copy link
Collaborator Author

alex5105 commented Oct 16, 2024

This issue happens when running the application as an unprivileged user. It seems related to the need for admin rights when accessing this file. The issue also occurs when running in development mode as an unprivileged user.

Potential solutions might involve adjusting permissions or rethinking the way the package is bundled in the build process.

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