windows安装imgaug ERROR: Command errored out with exit status 1: ERROR: Command errored out with exit

在windows10下安装imgaug,我的python是3.7版本,一直在报错

报错信息如下所示:

windows安装imgaug ERROR: Command errored out with exit status 1: ERROR: Command errored out with exit_第1张图片

  ERROR: Command errored out with exit status 1:
     command: 'd:\program_files\anaconda\envs\tf-gpu\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\zyt\\AppData\\Local\\Temp\\pip-install-q8_zaj4j\\Shapely\\setup.py'"'"'; __file__='"'"'C:\\Users\\zyt\\AppData\\Local\\Temp\\pip-install-q8_zaj4j\\Shapely\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base pip-egg-info
         cwd: C:\Users\zyt\AppData\Local\Temp\pip-install-q8_zaj4j\Shapely\
    Complete output (9 lines):
    Traceback (most recent call last):
      File "", line 1, in
      File "C:\Users\zyt\AppData\Local\Temp\pip-install-q8_zaj4j\Shapely\setup.py", line 80, in
        from shapely._buildcfg import geos_version_string, geos_version, \
      File "C:\Users\zyt\AppData\Local\Temp\pip-install-q8_zaj4j\Shapely\shapely\_buildcfg.py", line 200, in
        lgeos = CDLL("geos_c.dll")
      File "d:\program_files\anaconda\envs\tf-gpu\lib\ctypes\__init__.py", line 356, in __init__
        self._handle = _dlopen(self._name, mode)
    OSError: [WinError 126] 找不到指定的模块。
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

我是看不懂这一大串报错信息的,头疼,于是找到一篇神仙博客 https://blog.csdn.net/qq_16065939/article/details/85080630#commentBox

博主说是因为imgaug中的shapely安装失败

于是在 https://www.lfd.uci.edu/~gohlke/pythonlibs/#shapely 找到shapely下载

然后再次安装imgaug即可

 windows安装imgaug ERROR: Command errored out with exit status 1: ERROR: Command errored out with exit_第2张图片

你可能感兴趣的:(医学图像)