未验证 提交 02d8d51d 编写于 作者: D dyning 提交者: GitHub

Merge pull request #408 from LDOUBLEV/fixocr

add hint when install shapely on win
...@@ -80,3 +80,6 @@ git clone https://gitee.com/paddlepaddle/PaddleOCR ...@@ -80,3 +80,6 @@ git clone https://gitee.com/paddlepaddle/PaddleOCR
cd PaddleOCR cd PaddleOCR
pip3 install -r requirments.txt pip3 install -r requirments.txt
``` ```
注意,windows环境下,建议从[这里](https://www.lfd.uci.edu/~gohlke/pythonlibs/#shapely)下载shapely安装包完成安装,
直接通过pip安装的shapely库可能出现`[winRrror 126] 找不到指定模块的问题`
...@@ -82,3 +82,9 @@ git clone https://gitee.com/paddlepaddle/PaddleOCR ...@@ -82,3 +82,9 @@ git clone https://gitee.com/paddlepaddle/PaddleOCR
cd PaddleOCR cd PaddleOCR
pip3 install -r requirments.txt pip3 install -r requirments.txt
``` ```
If you getting this error `OSError: [WinError 126] The specified module could not be found` when you install shapely on windows.
Please try to download Shapely whl file using [http://www.lfd.uci.edu/~gohlke/pythonlibs/#shapely](http://www.lfd.uci.edu/~gohlke/pythonlibs/#shapely).
Reference: [Solve shapely installation on windows](https://stackoverflow.com/questions/44398265/install-shapely-oserror-winerror-126-the-specified-module-could-not-be-found)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册