We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Setup:
pip install deepbrain from deepbrain import Extractor
pip install deepbrain
from deepbrain import Extractor
Error:
ImportError Traceback (most recent call last) in 5 6 import nibabel as nib ----> 7 from deepbrain import Extractor /usr/local/Caskroom/miniconda/base/envs/ndmg/lib/python3.6/site-packages/deepbrain/__init__.py in ----> 1 from deepbrain.extractor import Extractor /usr/local/Caskroom/miniconda/base/envs/ndmg/lib/python3.6/site-packages/deepbrain/extractor.py in 1 import tensorflow as tf 2 import numpy as np ----> 3 from skimage.transform import resize 4 import os 5 /usr/local/Caskroom/miniconda/base/envs/ndmg/lib/python3.6/site-packages/skimage/__init__.py in 156 except ImportError as e: 157 _raise_build_error(e) --> 158 from .util.dtype import * 159 160 /usr/local/Caskroom/miniconda/base/envs/ndmg/lib/python3.6/site-packages/skimage/util/__init__.py in 5 from .apply_parallel import apply_parallel 6 ----> 7 from .arraycrop import crop 8 from ._regular_grid import regular_grid, regular_seeds 9 from .unique import unique_rows /usr/local/Caskroom/miniconda/base/envs/ndmg/lib/python3.6/site-packages/skimage/util/arraycrop.py in 6 7 import numpy as np ----> 8 from numpy.lib.arraypad import _validate_lengths 9 10 ImportError: cannot import name '_validate_lengths'
The text was updated successfully, but these errors were encountered:
Fixed by grabbing scikit-image with a conda install command, looks like a scikit-image dependency thing
scikit-image
conda install
Sorry, something went wrong.
I have the same issue, how exactly did you grab scikit-image with a conda install command? I tried to do the following:
conda install -c conda-forge scikit-image
But I'm still getting the same error message.
No branches or pull requests
Setup:
pip install deepbrain
from deepbrain import Extractor
Error:
The text was updated successfully, but these errors were encountered: