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

ImportError:Could not find module 'libdmtx-64.dll' (or one of its dependencies).(windows) #100

Open
taoan-wang opened this issue Dec 27, 2023 · 3 comments

Comments

@taoan-wang
Copy link

taoan-wang commented Dec 27, 2023

When using python under windows, an error occurred when I used from pylibdmtx.pylibdmtx import decode

the error is

FileNotFoundError: Could not find module 'libdmtx-64.dll' (or one of its dependencies). Try using the full path with constructor syntax.

I have installed vcredist_x64.exe,but it still has error.

System:

python3.8.18 64 bit
win 11 64 bit

@kroissm
Copy link

kroissm commented Jan 15, 2024

I have the same problem on windows 10 using python 3.10.0 and pylibdmtx 0.1.10.
Any updates on this issue?

@nck974
Copy link

nck974 commented Apr 17, 2024

I got it fixed in windows installing:

Visual Studio 2013 (VC++ 12.0)
X64 | 12.0.40664.0 | vcredist_x64.exe

https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170

NOTE: It is not the latest version of the site

@thuyduongcoding
Copy link

When using python under windows, an error occurred when I used from pylibdmtx.pylibdmtx import decode

the error is

FileNotFoundError: Could not find module 'libdmtx-64.dll' (or one of its dependencies). Try using the full path with constructor syntax.

I have installed vcredist_x64.exe,but it still has error.

System:

python3.8.18 64 bit
win 11 64 bit

I also encountered the same error before. My solution is to install the vcredist_x64.exe before pip install pylibdmtx.
It then works for me.

Hope this can solve your error.

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

4 participants