1

I am currently using intel i3 with no gpu, I created a virtual environment in python with python version 3.10.11, while my current python version is 3.11.3

In the virtual env

I tried installing paddleocr using pip install paddleocv and pip install paddlepaddle

when I import paddleocr using from paddleocr import PaddleOCR,draw_ocr

I am getting error: Error: Can not import paddle core while this file exists: d:\env\.venv\lib\site-packages\paddle\fluid\libpaddle.pyd

ImportError: DLL load failed while importing libpaddle: The specified module could not be found.

Jinen Rathore
  • 65
  • 1
  • 6

3 Answers3

2

I had also encountered this problem before, and I solved it by the command:

python -m pip install --force-reinstall paddlepaddle==2.5
user16217248
  • 3,119
  • 19
  • 19
  • 37
dong
  • 36
  • 2
  • Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Aug 09 '23 at 04:08
1

The other answers didn't work for me, but luckily I found this comment suggesting to downgrade to version 2.4.2, so it finally worked.

So I just ran: python -m pip install --force-reinstall paddlepaddle==2.4.2

And it worked :)

0

Got the same issue but resolved it by forcing the reinstallation with the latest version
python -m pip install --force-reinstall paddlepaddle==[version]

Louise
  • 1
  • 2
  • 1
    Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Jul 01 '23 at 06:12