BallonsTranslator icon indicating copy to clipboard operation
BallonsTranslator copied to clipboard

Feature Request:关于PaddleOCR

Open notunicorna opened this issue 8 months ago • 15 comments

版本信息

py version: 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)] py executable: D:\BallonTranslator\BallonsTranslator_dev_src_with_gitpython\ballontrans_pylibs_win\python.exe version: 1.4.0 branch: dev Commit hash: 330af93bdad410bccae8faadaaa2f831c8a2e6f1

建议类型

功能优化

描述

WARNING:root:PaddleOCR is not installed, so the module will not be initialized. Install core it by following https://www.paddlepaddle.org.cn/en/install/quick?docurl and then run pip install paddleocr 安装PaddleOCR及运行pip install paddleocr后命令框依旧如此提示,请问要如何解决,为什么要PaddleOCR,以及如何使用?

图片

Image

Image

其他信息

No response

notunicorna avatar Apr 14 '25 11:04 notunicorna

I asked the same question, you can search my post for the answer.

function2025 avatar Apr 14 '25 12:04 function2025

https://github.com/dmMaze/BallonsTranslator/issues/835#issuecomment-2772940806

DUBLICATE

bropines avatar Apr 14 '25 12:04 bropines

#835(评论)

重复的

Thank you very much for your answer. I still get an error after reinstalling using the method you provided. What should I do next?

Image

notunicorna avatar Apr 15 '25 07:04 notunicorna

#835(评论) 重复的

Thank you very much for your answer. I still get an error after reinstalling using the method you provided. What should I do next?

Image

Try to delete D:\BallonTranslator\ballontrans_pylibs_win\lib\site-packages\p addle\base\libpaddle.pyd

bropines avatar Apr 15 '25 08:04 bropines

#835(评论)重复的

非常感谢大家的回答。使用您提供的方法重新安装后,我仍然得到一个错误。下一步该怎么办? Image

尝试删除 D:\BallonTranslator\ballontrans_pylibs_win\lib\site-packages\p addle\base\libpaddle.pyd

WARNING:root:PaddleOCR is not installed, so the module will not be initialized. Install core it by following https://www.paddlepaddle.org.cn/en/install/quick?docurl and then run pip install paddleocr

Image Image

notunicorna avatar Apr 15 '25 08:04 notunicorna

Try

.\ballontrans_pylibs_win\python.exe -m pip uninstall paddlepaddle-gpu

And

.\ballontrans_pylibs_win\python.exe -m pip uninstall paddleocr

And try to install again

bropines avatar Apr 15 '25 08:04 bropines

Try

.\ballontrans_pylibs_win\python.exe -m pip uninstall paddlepaddle-gpu And

.\ballontrans_pylibs_win\python.exe -m pip uninstall paddleocr And try to install again

I can't use the

.\ballontrans_pylibs_win\python.exe -m pip install -U paddlepaddle-gpu==2.6.2 -i https://pypi.tuna.tsinghua.edu.cn/simple

you provided, and I will get an error.

Image

Can I use this? python -m pip install paddlepaddle-gpu==3.0.0 -i https://www.paddlepaddle.org.cn/packages/stable/cu118/

notunicorna avatar Apr 15 '25 08:04 notunicorna

Can I use this? python -m pip install paddlepaddle-gpu==3.0.0 -i paddlepaddle.org.cn/packages/stable/cu118

In theory, new versions overwrite pytorch. Try turning on vpn. Paddle always has a problem with servers

bropines avatar Apr 15 '25 09:04 bropines

Can I use this? python -m pip install paddlepaddle-gpu==3.0.0 -i paddlepaddle.org.cn/packages/stable/cu118

In theory, new versions overwrite pytorch. Try turning on vpn. Paddle always has a problem with servers

I successfully downloaded PaddleOCR after using VPN, but I still get an error.Do I need to downgrade Python to 3.8?

Image Image Image

notunicorna avatar Apr 15 '25 09:04 notunicorna

Can I use this? python -m pip install paddlepaddle-gpu==3.0.0 -i paddlepaddle.org.cn/packages/stable/cu118

In theory, new versions overwrite pytorch. Try turning on vpn. Paddle always has a problem with servers

I successfully downloaded PaddleOCR after using VPN, but I still get an error.Do I need to downgrade Python to 3.8?

Image Image Image

Nope. Do you have wechat? I want to try using remote access to see what's wrong.

bropines avatar Apr 15 '25 11:04 bropines

Can I use this? python -m pip install paddlepaddle-gpu==3.0.0 -i paddlepaddle.org.cn/packages/stable/cu118

In theory, new versions overwrite pytorch. Try turning on vpn. Paddle always has a problem with servers

I successfully downloaded PaddleOCR after using VPN, but I still get an error.Do I need to downgrade Python to 3.8? Image Image Image

Nope. Do you have wechat? I want to try using remote access to see what's wrong.

I have WeChat, but it is China WeChat, I don't know how to send you the number privately.

notunicorna avatar Apr 15 '25 11:04 notunicorna

If you can, find me there with the nickname bropines

bropines avatar Apr 15 '25 16:04 bropines

If you can, find me there with the nickname bropines

WeChat: telegram:

notunicorna avatar Apr 16 '25 10:04 notunicorna

如果可以的话,用昵称找到我bropines

微信: 电报:

你最后解决了吗?我也是遇到这种问题

amywlp233 avatar Sep 27 '25 15:09 amywlp233

如果可以的话,用昵称找到我bropines📋

微信: 电报:

你最后解决了吗?我也是遇到这种问题

Yes, but honestly I don't remember how. I'll write a fix a little later

bropines avatar Sep 28 '25 10:09 bropines