Skip to content

Error produced when I try to run earthpy with my new environment (that includes earthpy). #883

@allisonw5

Description

@allisonw5

**Describe tImportError Traceback (most recent call last)
Cell In[2], line 4
2 import glob
3 import earthpy as et
----> 4 import earthpy.plot as ep
5 import pandas as pd
6 import geopandas as gpd

File ~\miniconda3\envs\seafloor-objects\lib\site-packages\earthpy\plot.py:16
14 from mpl_toolkits.axes_grid1 import make_axes_locatable
15 from skimage import exposure
---> 16 import earthpy.spatial as es
19 def colorbar(mapobj, size="3%", pad=0.09):
20 """Adjust colorbar height to match the matplotlib axis height.
21
22 NOTE: This function requires matplotlib v 3.0.1 or greater or v 2.9 or
(...)
60 >>> plt.show()
61 """

File ~\miniconda3\envs\seafloor-objects\lib\site-packages\earthpy\spatial.py:16
14 from shapely.geometry import mapping, box
15 import geopandas as gpd
---> 16 import rasterio as rio
17 from rasterio.mask import mask
20 def extent_to_json(ext_obj):

File ~\miniconda3\envs\seafloor-objects\lib\site-packages\rasterio_init_.py:28
24 os.add_dll_directory(os.path.abspath(p))
27 from rasterio._show_versions import show_versions
---> 28 from rasterio._version import gdal_version, get_geos_version, get_proj_version
29 from rasterio.crs import CRS
30 from rasterio.drivers import driver_from_extension, is_blacklisted

ImportError: DLL load failed while importing _version: The specified procedure could not be found.

1

%load_ext pycodestyle_magiche bug**

A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

**What Operating System Are you Running? **

  • Mac
  • Windows
  • Linux

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions