I am trying to import Multipoint from shapely.geometry in IPython notebook. When I do 'from shapely.geometry import MultiPoint', I get the error 'No module named shapely.geometry'.
Solution 1:
I had this OSError that I found in your output:
Could notfind library geos_c orload any of its variants ['libgeos_c.so.1', 'libgeos_c.so']
To solve that I installed the lib-geos, by running:
$ sudo apt-get install libgeos-dev
Share
Post a Comment
for "Cannot Import Shapely.geometry In Python"
Post a Comment for "Cannot Import Shapely.geometry In Python"