使用pyzbar时踩的坑
近期在PM项目中增加扫描二维码功能,在开发期间(开发环境:Windows 11 23H2)没有遇到什么问题,结果打包并在测试环境(Windows 10 1809)运行时,发现怎么都无法启动,经过打印提示发现出现了下面的这个报错提示
FileNotFoundError: Could not find module '你的路径\Python\Python38\site-packages\pyzbar\libzbar-64.dll' (or one of its dependencies). Try using the full path with constructor syntax