Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: cannot import name' fitz #735

Open
1 task done
LydiaWangxx opened this issue Nov 28, 2024 · 0 comments
Open
1 task done

ImportError: cannot import name' fitz #735

LydiaWangxx opened this issue Nov 28, 2024 · 0 comments

Comments

@LydiaWangxx
Copy link

Issues

  • I have browsed through the Issues. 我已浏览过Issues,确定没有重复提问。

Umi-OCR version 程序版本

2.1.4

Windows version 系统版本

win 10

OCR plugins Used 使用的OCR插件

PaddleOCR, RapidOCR

Reproduction steps 复现步骤

When I finish downloading, running the exe prompts:Traceback (most recent call last):
File "C:\Users\Pc21\ocrUmi-OCR Rapid v2.1.4\UmiocR-data\main.py", line 136
In
main(app path=app path,
engineAddimportPath="./site-packages/Pyside2/qml")
File "C:\Users\Pc21\ocrUmi-0CR Rapid v2.1.4\UmiocR-data\py src\run.py"
ine 146, in main
runQml(engineAddlmportPath)#启动aml
File "C:Users\Pc21\ocrUmi-OCR Rapid v2.1.4\UmiOcR-data\py src\run.py"
line 75, in runQml
from .tag pages.tag pages connector import TagPageConnector #页面连接器
File
C:Users\PC21\AppDatalLocal\Templembedded.9xoe2s04.zip\shibokensupport
feature .py",line 142,in import
File
C:Users\PC21\ocrUmi-0CR Rapid v2.1.4\Umi0cR-datalpy srcltag pagesltag p
ages connector.py",line 13,in
from .BatchOCR import BatchOCR
File
"C:\Users\Pc21\AppData\LocallTemp\embedded.9xoe2s04.zip\shibokensupport
feature py",line 142,in import
File
C:\Users\Pc21\ocrUmi-0CR Rapid v2.1.4\UmiOcR-datalpy srcltag pages\BatchocR.py", line 11,in
from ..ocr.output import Qutput
File
C:Users\Pc21\AppData\LocallTemplembedded.9xoe2s04.zip\shibokensupport
feature .py", line 142,in import
File
"C:\Users\Pc21\ocrUmi-0CR Rapid v2.1.4\UmiocR-datalpy srclocroutput\ ini
.py", line 7, in
from .output pdf layered import OutputPdfLayered
File
"C:\Users\Pc21\AppData\LocallTemplembedded.9xoe2s04.zip\shibokensupport
feature .py",line 142,in import
File"C:Users\Pc21\ocrUmi-0CR Rapid v2.1.4\Umi0cR-datalpy srcocroutput\output pdf layered.py",line 7,in
import fitz # PyMuPDF
File
"C:\Users\Pc21\AppData\Local\Temp\embedded.9xoe2s04.zip\shibokensupport\feature .py",line 142,in import
File
"C:\Users\Pc21\ocr\Umi-0CR Rapid v2.1.4\UmiocR-data\site-packages\fitz init
.py", line 22, in
from fitz.fitz import *
File
C:Users\Pc21\AppData\LocalTemplembedded.9xoe2s04.zip\shibokensupport
feature .py",line 142,in import
File
"C:\Users\Pc21\ocrUmi-0CR Rapid v2.1.4\Umi0cR-data\site-packages\fitz\fitz.py",line 14,in
from.import fitz
ImportError: cannot import name ' fitz'

Problem screenshots or related files (optional) 问题截图或相关文件(可选)

微信图片_20241128225337

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant