From f45946dc83b7d54b1061d456d950983928583d94 Mon Sep 17 00:00:00 2001 From: LDOUBLEV Date: Thu, 23 Jul 2020 15:35:23 +0800 Subject: [PATCH] add hint when install shapely on win --- doc/doc_ch/installation.md | 3 +++ doc/doc_en/installation_en.md | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/doc/doc_ch/installation.md b/doc/doc_ch/installation.md index 4b75e21b..7a51c561 100644 --- a/doc/doc_ch/installation.md +++ b/doc/doc_ch/installation.md @@ -80,3 +80,6 @@ git clone https://gitee.com/paddlepaddle/PaddleOCR cd PaddleOCR pip3 install -r requirments.txt ``` + +注意,windows环境下,建议从[这里](https://www.lfd.uci.edu/~gohlke/pythonlibs/#shapely)下载shapely安装包完成安装, +直接通过pip安装的shapely库可能出现`[winRrror 126] 找不到指定模块的问题`。 diff --git a/doc/doc_en/installation_en.md b/doc/doc_en/installation_en.md index 585f9d43..9e4df74f 100644 --- a/doc/doc_en/installation_en.md +++ b/doc/doc_en/installation_en.md @@ -82,3 +82,9 @@ git clone https://gitee.com/paddlepaddle/PaddleOCR cd PaddleOCR 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) -- GitLab