简介:
之前做一个项目要用到二维码识别,然后我使用pyzbar的时候就遇到了这个问题:
FileNotFoundError: Could not find module 'C:\Users\biewang\AppData\Local\Programs\Python\Python39\lib\site-packages\pyzbar\libzbar-64.dll' (or one of its dependencies). Try using the full path with constructor syntax.
解决办法:
步骤一:找到msvcr120_clr0400.dll
这个文件一般在C:\Windows\System32
步骤二:将msvcr120_clr0400.dll复制到pyzbar所在目录
将msvcr120_clr0400.dll改名为msvcr120.dll
参考博主:
http://t.csdn.cn/KoUMZhttp://t.csdn.cn/KoUMZ