当前位置: 代码迷 >> 综合 >> FileNotFoundError: Could not find module ‘D:\Anaconda3\envs\labe\Library\bin\geos_c.dll‘解决方法
  详细解决方案

FileNotFoundError: Could not find module ‘D:\Anaconda3\envs\labe\Library\bin\geos_c.dll‘解决方法

热度:12   发布时间:2023-11-22 07:25:39.0

解决:
FileNotFoundError: Could not find module
‘D:\Anaconda3\envs\LabelImg\label\bin\geos_c.dll’ (or one of its dependencies).
Try using the full path with constructor syntax.(or one of its dependencies). Try using the full path with constructor syntax.

1、大部分人是没有导入 “shapely” 这个依赖。只需要导入即可

pip install shapely

2、导入这个还是报错,基本就是和你的python版本不对。

去下载对应的.whl文件,链接如下:https://www.lfd.uci.edu/~gohlke/pythonlibs/#shapely ,进入网址后ctrl+f 找shapely即可,根据自己的版本上调或者下挑版本。(作者是python3.8)
在这里插入图片描述

#先卸载已下载下载的shapely
pip uninstall shapely
#然后下载本地cp38版本的shapely即可
pip install D:\PyCharm\Pro\OCR\PaddleOCR\PPOCRLabel\BACK\Shapely-1.7.1-cp38-cp38-win_amd64.whl
  相关解决方案