You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
我们提供了issue bot来帮助你解答问题,你是否想要它来解答(请填写yes/no)?/We provide issue bot to solve issues, do you want it? (Please write yes/no):yes
请注意:issue bot基于大语言模型实现,其回答仅供参考。目前issue bot尚不能解析issue中的图片。/Please note: The issue bot is implemented based on large language models, and its answers are for reference only. Currently the issue bot cannot parse images in issues.
请在这里描述你的问题/Please describe your issue here:
Hey, when building an exe with Pyinstaller from a python file that uses PaddleOCR I get a "No module named 'ppocr' error" (attached a screenshot). How do I fix it? \nThe code I'm using is just the most barebones one to find out how to create an exe file with PaddleOCR:\n`import paddleocr\nocr = paddleocr.PaddleOCR()\npath = input('input path: ')\nresult = ocr.ocr(path)\nprint(result)
The text was updated successfully, but these errors were encountered:
Install the required third-party libraries by navigating to the PaddleOCR directory and running the command:
pip3 install -r requirements.txt
If you encounter the error "OSError: [WinError 126] The specified module could not be found" when installing shapely on Windows, you can try downloading the Shapely whl file from http://www.lfd.uci.edu/~gohlke/pythonlibs/#shapely and installing it manually.
These steps should help resolve the "No module named 'ppocr'" error when building an executable with Pyinstaller using PaddleOCR.
My answer may not be accurate. I suggest you refer to relevant sources to make a comprehensive judgment.
To invoke me for more questions, add a comment using following command: @llm-issue-bot <QUESTION>
我们提供了issue bot来帮助你解答问题,你是否想要它来解答(请填写yes/no)?/We provide issue bot to solve issues, do you want it? (Please write yes/no):yes
请在这里描述你的问题/Please describe your issue here:
Hey, when building an exe with Pyinstaller from a python file that uses PaddleOCR I get a "No module named 'ppocr' error" (attached a screenshot). How do I fix it? \nThe code I'm using is just the most barebones one to find out how to create an exe file with PaddleOCR:\n`import paddleocr\nocr = paddleocr.PaddleOCR()\npath = input('input path: ')\nresult = ocr.ocr(path)\nprint(result)
The text was updated successfully, but these errors were encountered: