pycurious icon indicating copy to clipboard operation
pycurious copied to clipboard

ModuleNotFoundError: No module named 'pyproj'

Open manees12 opened this issue 2 years ago • 0 comments

When solving [Ex5-Mapping-Curie-depth-EMAG2.ipynb] through Binder, at the interpolation onto grid projection step, I got this error:

ModuleNotFoundError Traceback (most recent call last) in 7 8 # extent on the sphere (WGS84) ----> 9 extent_sphere = mapping.convert_extent(extent_grid, epsg_in=2157, epsg_out=4326) 10 11 # map extent - should be narrower than extent_sphere

/usr/lib/python3.6/site-packages/pycurious/mapping.py in convert_extent(extent_in, epsg_in, epsg_out) 103 xi = [xmin, xmin, xmax, xmax] 104 yi = [ymin, ymax, ymin, ymax] --> 105 xo, yo = transform_coordinates(xi, yi, epsg_in, epsg_out) 106 extent_out = [min(xo), max(xo), min(yo), max(yo)] 107 return extent_out

/usr/lib/python3.6/site-packages/pycurious/mapping.py in transform_coordinates(x, y, epsg_in, epsg_out) 77 y coordinates projected in epsg_out 78 """ ---> 79 import pyproj 80 81 proj_in = pyproj.Proj("+init=EPSG:" + str(epsg_in))

ModuleNotFoundError: No module named 'pyproj'

Could you please debug this?

manees12 avatar Sep 18 '23 15:09 manees12