Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'pyproj' #39

Open
manees12 opened this issue Sep 18, 2023 · 0 comments
Open

ModuleNotFoundError: No module named 'pyproj' #39

manees12 opened this issue Sep 18, 2023 · 0 comments

Comments

@manees12
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant