lgeos = CDLL,"geos_c.dll"">安装keras Mark RCNN依赖包imgaug、shapely错误:shapely\_buildcfg.py", line 200, in lgeos = CDLL

在安装基于keras、tensorflow实现的Mark RCNN(https://github.com/matterport/Mask_RCNN),要运行其中的demo.ipynb时,需安装imgaug、Shapely,出现以下错误:

Shapely\setup.py", line 80, in <module>

from shapely._buildcfg import geos_version_string, geos_version, \

Shapely\shapely\_buildcfg.py", line 200, in <module>

lgeos = CDLL("geos_c.dll")

python365\lib\ctypes\__init__.py", line 348, in __init__

self._handle = _dlopen(self._name, mode)

OSError: [WinError 126] 找不到指定的模块。

https://www.lfd.uci.edu/~gohlke/pythonlibs/下载Shapely-1.6.4.post2-cp36-cp36m-win_amd64.whl,安装

pip install Shapely-1.6.4.post2-cp36-cp36m-win_amd64.whl

pip install imgaug

即解决。