pyinstaller打包后报错 #14549
Unanswered
ApocalypticDoctor
asked this question in
Q&A
pyinstaller打包后报错
#14549
Replies: 1 comment
-
根据你的描述以及报错信息, 问题分析
解决方案以下是几个可能的解决方法: 1. 确保所有依赖已安装
2. 手动添加隐藏导入
3. 添加
|
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
-
用pyinstaller打包ocr后报错
报错为 [29796] Module object for pyimod02_importers is NULL!
Traceback (most recent call last):
File "PyInstaller\loader\pyimod02_importers.py", line 22, in
File "pathlib.py", line 14, in
File "urllib\parse.py", line 39, in
ModuleNotFoundError: No module named 'ipaddress'
Traceback (most recent call last):
File "PyInstaller\loader\pyiboot01_bootstrap.py", line 17, in
ModuleNotFoundError: No module named 'pyimod02_importers'
[29796] Failed to execute script 'pyiboot01_bootstrap' due to unhandled exception!
而代码仅仅为
from paddleocr import PaddleOCR
print(123)
Beta Was this translation helpful? Give feedback.
All reactions