Replies: 4 comments
-
@GreatV 可以请您解答一下吗,谢谢了 |
Beta Was this translation helpful? Give feedback.
0 replies
-
试试 “打开生成的 .spec 文件,添加 fitz 模块的依赖项。在 hiddenimports 列表中添加 fitz 模块。然后重新打包。” |
Beta Was this translation helpful? Give feedback.
0 replies
-
但是打包完了还是一样的问题怎么办
…------------------ 原始邮件 ------------------
发件人: "PaddlePaddle/PaddleOCR" ***@***.***>;
发送时间: 2024年6月3日(星期一) 下午4:38
***@***.***>;
***@***.******@***.***>;
主题: Re: [PaddlePaddle/PaddleOCR] 使用paddle-ocr和PyMuPDF识别PDF文件的问题 (Issue #12607)
试试 “打开生成的 .spec 文件,添加 fitz 模块的依赖项。在 hiddenimports 列表中添加 fitz 模块。然后重新打包。”
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
参考一下这里: https://stackoverflow.com/questions/25733467/no-module-named-when-using-pyinstaller |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
问题描述 / Problem Description
运行环境 / Runtime Environment
复现代码 / Reproduction Code
在我的代码中可以将一个PDF转成图片然后进行识别文本,但是我将他用pyinstaller打包成exe的时候,这个exe运行 时会报错,说找不到fitz这个模块,但是打包之前的项目是可以运行的,也不会出现这个问题

python:3.11
paddle-ocr:2.7.0.3
paddle-gpu:2.6.0
完整报错 / Complete Error Message
可能解决方案 / Possible solutions
附件 / Appendix
Beta Was this translation helpful? Give feedback.
All reactions