Python OSError:找不到geos_c.dll或加载其任何变体

Python OSError:找不到geos_c.dll或加载其任何变体,python,pip,installation,shapely,Python,Pip,Installation,Shapely,我正在尝试使用shapley,为了满足我的需要,我必须导入“从shapley导入几何体”,但我得到错误:找不到lib geos_c.dll 我试图通过“pip安装geos”安装“geos”,但什么也没做:需求已经满足 pip位置:C:\Users\skoft\AppData\Local\Programs\Python\Python37-32\Scripts\pip.exe import shapely from shapely import geometry OSError: Could n

我正在尝试使用shapley,为了满足我的需要,我必须导入“从shapley导入几何体”,但我得到错误:找不到lib geos_c.dll

我试图通过“pip安装geos”安装“geos”,但什么也没做:需求已经满足


pip位置:
C:\Users\skoft\AppData\Local\Programs\Python\Python37-32\Scripts\pip.exe

import shapely

from shapely import geometry

OSError: Could not find lib geos_c.dll or load any of its variants ['C:\\Users\\skoft\\AppData\\Local\\Programs\\Python\\Python37-32\\Library\\lib\\geos_c.dll'].

在python 3.6.5上。在python 3.8.5和windows 10上,通过project安装GDAL并将C:\OSGeo4W64\bin添加到PATH变量为我解决了这个问题。我遇到了同样的错误。然后,conda install shapely为我解决了问题。

“pip install geos”,什么都没做你的意思?错误?没用?在windows上,pip位于“scripts”子目录中。好吧,它没有解决任何问题,我也不确定它是否与此错误有关。我只是尝试了一些方法。您可以键入
where-pip
并发布结果吗?C:\Users\skoft\AppData\Local\Programs\Python\Python37-32\scripts\pip.exe看起来不错。而
pip install geos
的输出是什么?你能回答你的问题吗?