美文网首页
windows使用pyzbar decode报错

windows使用pyzbar decode报错

作者: SodaCrush | 来源:发表于2024-09-29 17:13 被阅读0次

from pyzbar.pyzbar import decode

报错如下:

FileNotFoundError: Could not find module 'C:\Users\xx\AppData\Local\Programs\Python\Python38\lib\site-packages\pyzbar\libzbar-64.dll' (or one of its dependencies), Try using the full path with constructor syntax.

由于本机依赖项缺失导致

解决方案:

安装Visual C++ Redistributable Packages for Visual Studio 2013
vcredist_x64

相关文章

网友评论

      本文标题:windows使用pyzbar decode报错

      本文链接:https://www.haomeiwen.com/subject/rzldrjtx.html