Closed Soebb closed 2 years ago
Hello, I'm not sure I can do anything in this repo if there is an issue with PaddleOCR. What PaddleOCR version are you using?
Okay. paddleocr 2.3.0.2
Does paddleocr 2.3.0.1 also have this issue?
c:\ocr-bot>python37 main.py
C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages\numpy_distributor_init.py:32: UserWarning: loaded more than 1 DLL from .libs:
C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages\numpy.libs\libopenblas.QVLO2T66WEPI7JZ63PS3HMOHFEY472BC.gfortran-win_amd64.dll
C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages\numpy.libs\libopenblas.XWYDX2IKJW2NMTWSFYNGFUWKQU3LYTCZ.gfortran-win_amd64.dll
stacklevel=1)
Traceback (most recent call last):
File "main.py", line 1, in
Same error, Just this time, a bit different.
it seems running the script on windows give little chance to be workable.
Hope you create its app asap, Anyway thanks for your work.
Hmmm it seems like it might be PaddlePaddle that's giving this error? What version of PaddlePaddle are you using? For reference, I'm running the program fine on Windows. I'm using paddlepaddle 2.2.0 with paddleocr 2.3.0.1.
Thanks it fixed properly and program is running, yes it was because of paddlepaddle (paddlepaddle 2.2.0 no but paddlepaddle 2.1.3 helped)
Note: by paddlepaddle 2.1.3 installed, an scipy error might be raised when run script, it can be fixed by installing setuptools<60.0 and reinstall scipy.
It looks like some methods used in some of the dependencies is deprecated!
Also it gave an paddleocr/paddlepaddle error as of the last one.
Python 3.7 (64Bit) paddleocr 2.3.0.2 paddlepaddle 2.2.1
Edit: i found the reason of raising deprecation warnings. it happened because fasttext and python-levenshtein couldnt be installed with pip in my case, so install those with pipwin. and reinstall videocr with adding --ignore-installed [package] to the pip command, for ignore installing those 2 packages. Also if raised an error while installing paddleocr dependencies(fastext one), so install paddleocr(with ignore installing fastext), then reinstall videocr(with ignore installing paddleocr) and finally check again that you installed fasttext by pipwin.