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

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

Open
allisonw5 opened this issue Jun 20, 2023 · 6 comments

Comments

@allisonw5
Copy link

**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.

@nkorinek
Copy link
Member

Thank you for the issue, I'll do a little digging and see what I can find!

@nkorinek
Copy link
Member

Can you show the output of your environment? Do you know what version of Python this was on?

@allisonw5
Copy link
Author

allisonw5 commented Jun 28, 2023 via email

@nkorinek
Copy link
Member

Sure, I was talking about your conda environment. If you run conda list in your terminal it should show the output of the environment you're using with all of the installed packages.

@allisonw5
Copy link
Author

allisonw5 commented Jul 6, 2023 via email

@nkorinek
Copy link
Member

Hey, I don't see the environment here, apologies! Could you try and put the image here again?

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

2 participants