Replies: 2 comments
-
I vaguely remember having to manually find and install geos. But was several years ago when I first installed shapely, so memory is a bit gone on exactly what I had to do. But I seem to remember once I figured out that that I had no issues. Same with meshpy, rather than going with the link in the docs, I installed it from a repository for meshpy. The wheels linked to were not available for higher versions of python last time I looked at the link in the readme doc. So you had to go down this route. Wasn't really a problem to sort. |
Beta Was this translation helpful? Give feedback.
-
I created a new virtual environment and installed Shapely (just using import sys
print(sys.executable)
print(sys.version)
from shapely.geometry import Point
patch = Point(0.0, 0.0).buffer(10.0)
print(patch.area)
patch Let me know if any other details will help. |
Beta Was this translation helpful? Give feedback.
-
In PR #69 , @connorferster mentioned shapely being difficult to install on Windows. I've not experienced this so far. In the documentation for Shapely, it mentions that a built distribution including GEOS is now available with a modern version of pip.
This is the approach I'm using, and I can run basic shapely code like the following in a notebook, with graphical geometry output.
Do other users on Windows have problems as Connor described?
Beta Was this translation helpful? Give feedback.
All reactions