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

skimage cannot be imported #103

Closed
kmader opened this issue Aug 8, 2017 · 10 comments
Closed

skimage cannot be imported #103

kmader opened this issue Aug 8, 2017 · 10 comments

Comments

@kmader
Copy link
Contributor

kmader commented Aug 8, 2017

When running
from skimage.util.montage import montage2d the following error gets thrown in the log file

Intel MKL FATAL ERROR: Cannot load libmkl_avx2.so or libmkl_def.so.
@nerdcha
Copy link
Contributor

nerdcha commented Aug 9, 2017

Thanks for reporting this! Looks like we might have been hit by ContinuumIO/anaconda-issues#720 . I'll try the fix suggested there and see how we go.

@nerdcha
Copy link
Contributor

nerdcha commented Sep 11, 2017

Sorry for the delay in patching this. I think that 0cb6792 fixed it. Apologies for the inconvenience, and do let us know if you hit any more issues!

@nerdcha nerdcha closed this as completed Sep 11, 2017
@hyzhak
Copy link

hyzhak commented Oct 18, 2017

I've just tried to get the latest version of kaggle/python:latest and got hit the same problem:

Intel MKL FATAL ERROR: Cannot load libmkl_avx2.so or libmkl_def.so.

to reproduce I've used:

from skimage.io import imread

from ticket above ContinuumIO/anaconda-issues#720.

Btw right now we are having newer version:

numpy==1.13.3

Could it be a case?

PS:
I've just tried to alter numpy versions in my Dockerfile and found that it stopped working on 1.13.0 and bug was introduced in 1.13.1. This configuration works fine:

FROM kaggle/python:latest
RUN conda install -f -y numpy==1.13.0

but later versions are fail

@nerdcha
Copy link
Contributor

nerdcha commented Oct 18, 2017

Oh, shoot. Thanks for the report @hyzhak, and for the hint about numpy. I'll get this patched asap.

@nerdcha nerdcha reopened this Oct 18, 2017
nerdcha pushed a commit that referenced this issue Oct 19, 2017
@nerdcha
Copy link
Contributor

nerdcha commented Oct 19, 2017

We've deployed your hotfix, @hyzhak, and from skimage.io import imread is working once more. Thanks again for the superlatively helpful bug report!

@nerdcha nerdcha closed this as completed Oct 19, 2017
nerdcha pushed a commit that referenced this issue Jan 9, 2018
skimage and pytables now seem to require numpy 1.12. The symptoms in the original issue #103 seem to have gone away.
@SankBad
Copy link

SankBad commented Jun 23, 2018

I tried all above solution but still, I am getting the same issue.
while import skimage.io

@yeuyeuh
Copy link

yeuyeuh commented Aug 27, 2018

It seems that this issue is back

from skimage.util.montage import montage2d as montage
generates this error:
ModuleNotFoundError: No module named 'skimage.util.montage'

@anoop93
Copy link

anoop93 commented Sep 8, 2018

@inakicm try this...
from skimage.util import montage2d as montage

@aysenozun
Copy link

Probably your doesnt support 2d computer .
from skimage.util import montage

@mrgransky
Copy link

You may want to try this piece of code:

try:
    from skimage.util.montage import montage2d
except ImportError as e:
    print('scikit-image is too new, ',e)
    from skimage.util import montage as montage2d

meggersntexasv8 added a commit to meggersntexasv8/docker-python that referenced this issue Aug 2, 2024
meggersntexasv8 added a commit to meggersntexasv8/docker-python that referenced this issue Aug 2, 2024
skimage and pytables now seem to require numpy 1.12. The symptoms in the original issue Kaggle/docker-python#103 seem to have gone away.
bestappsandcodereviews12 added a commit to bestappsandcodereviews12/docker-python-1 that referenced this issue Aug 17, 2024
bestappsandcodereviews12 added a commit to bestappsandcodereviews12/docker-python-1 that referenced this issue Aug 17, 2024
skimage and pytables now seem to require numpy 1.12. The symptoms in the original issue Kaggle/docker-python#103 seem to have gone away.
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

8 participants