Unable to import paddle core #9989
Unanswered
clonesangram87
asked this question in
Q&A
Replies: 2 comments 2 replies
-
I also encountered this problem and no matter how much I looked for a solution in the official docs, I did not get any results |
Beta Was this translation helpful? Give feedback.
2 replies
-
downgrade to 2.6.1.3 it doesn't have that issue |
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.
-
While running below code I am getting an error shown below. Please advise how to fix this? I am running it in Google Colab.
from paddleocr import PaddleOCR,draw_ocr
Paddleocr supports Chinese, English, French, German, Korean and Japanese.
You can set the parameter
lang
asch
,en
,fr
,german
,korean
,japan
to switch the language model in order.
ocr = PaddleOCR(use_angle_cls=True, lang='en') # need to run only once to download and load model into memory
Error: Can not import paddle core while this file exists: /usr/local/lib/python3.10/dist-packages/paddle/fluid/libpaddle.so
ImportError Traceback (most recent call last)
in <cell line: 1>()
----> 1 from paddleocr import PaddleOCR,draw_ocr
2 # Paddleocr supports Chinese, English, French, German, Korean and Japanese.
3 # You can set the parameter
lang
asch
,en
,fr
,german
,korean
,japan
4 # to switch the language model in order.
5 ocr = PaddleOCR(use_angle_cls=True, lang='en') # need to run only once to download and load model into memory
Beta Was this translation helpful? Give feedback.
All reactions