Geopandas pygeos seems absent, yet has already been installed #2746
Unanswered
sarahlunette
asked this question in
Installation
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When doing df = gpd.GeoDataFrame(df1, crs = 'EPSG:4326', geometry = geopandas.points_from_xy(df1.longitude,df1.latitude)) I get "name 'pygeos' is not defined", yet I have installed pygeos in the directory where I dev and
python3.9/site-packages/geopandas/_vectorized.py in points_from_xy(x, y, z) 247 248 if compat.USE_PYGEOS: --> 249 return pygeos.points(x, y, z) 250 else: 251 out = _points_from_xy(x, y, z)
and import pygeos is in the script. Is there a specific way to well install pygeos in order to avoid such error ? Thanks
Beta Was this translation helpful? Give feedback.
All reactions