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

报错:paddlepaddle的库函数找不到 #935

Closed
vanchy-z opened this issue Nov 12, 2024 · 3 comments
Closed

报错:paddlepaddle的库函数找不到 #935

vanchy-z opened this issue Nov 12, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@vanchy-z
Copy link

Description of the bug | 错误描述

Snipaste_2024-11-12_14-46-59
今天刚部署的0.9版本,按照教程部署的。然后在/demo/magic_pdf_parse_main.py函数中运行,输入的文件是/demo/demo1.pdf,运行时报了这个错,查了以下通义千问说可能是paddleocr的版本更新,请问这个问题应该怎么解决?

How to reproduce the bug | 如何复现

demo/magic_pdf_parse_main.py
if name == 'main':
pdf_path = r"demo1.pdf"
pdf_parse_main(pdf_path)

Operating system | 操作系统

Linux

Python version | Python 版本

3.10

Software version | 软件版本 (magic-pdf --version)

0.9.x

Device mode | 设备模式

cuda

@vanchy-z vanchy-z added the bug Something isn't working label Nov 12, 2024
@myhloli
Copy link
Collaborator

myhloli commented Nov 12, 2024

pip list
发一下所有paddle开头的包的版本

@vanchy-z
Copy link
Author

image

@myhloli
Copy link
Collaborator

myhloli commented Nov 12, 2024

paddlepaddle和paddlepaddle-gpu版本不一致,不同版本不能混装

@vanchy-z vanchy-z changed the title 报错:paddleocr的库函数找不到 报错:paddlepaddle的库函数找不到 Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants