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

exposure.equalize_adapthist doesn't work for 3D data, and error with calling cells3d #5237

Closed
aziabari opened this issue Feb 14, 2021 · 1 comment

Comments

@aziabari
Copy link

aziabari commented Feb 14, 2021

Description

when I ran this code:
https://scikit-image.org/docs/dev/auto_examples/color_exposure/plot_adapt_hist_eq_3d.html#sphx-glr-download-auto-examples-color-exposure-plot-adapt-hist-eq-3d-py

I get this error:

ImportError: cannot import name 'cells3d' from 'skimage.data' (/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/skimage/data/init.py)

it seems it cannot find the data

@jni
Copy link
Member

jni commented Feb 15, 2021

@aziabari can you update your installed version of scikit-image? That function is only available in scikit-image v0.18.1. You probably have an earlier version.

Additionally, it seems you are using the macOS system Python, which is generally a bad idea. You should instead work in an environment, which is like a little isolated Python installation. Here's a couple of guides about this:

I don't think this is an issue with our software, but rather with an installation, so I'm going to close the issue, but feel free to continue the discussion if you need more guidance!

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