Skip to content

ModuleNotFoundError: No module named 'pyproj' #39

@manees12

Description

@manees12

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions