1

I am trying to run a program but getting the following error when I am using the command:

from shapely.geometry import LineString

Error: FileNotFoundError: Could not find module 'C:\Users\SWWB\Anaconda\Library\bin\geos_c.dll' (or one of its dependencies). Try using the full path with constructor syntax.

Can anyone help me with this?

1
  • How did you install shapely? Jan 3 at 15:33
1

Make sure you install geopandas as follow:

conda install geopandas
-1

Shapely is your interface to GEOS. I'd start troubleshooting by trying to reinstall geopandas via conda so it checks that your dependencies are all there. conda install geopandas --force-reinstall

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.