如何修复modulenotfounderror:no Module名为' reportlab.graphics.barcode.code.code93'在Pyinstaller?
我正在使用Pyinstaller v5.0.1将Python文件转换为.exe,但是运行EXE文件时会遇到此错误:
ModuleNotFoundError: No module named 'reportlab.graphics.barcode.code93'
请注意,Python文件正常工作,我什至没有在代码中使用Code93。
I am converting a python file to .exe using pyinstaller v5.0.1, but I got this error when I run the exe file:
ModuleNotFoundError: No module named 'reportlab.graphics.barcode.code93'
Note that the python file is working perfectly and I'm not even using code93 in my code.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
即使我不使用它们,我也通过添加所有这些LIB的导入来解决此问题:
I have fixed this issue by adding an import for all this libs even if I don't use them: