Giter VIP home page Giter VIP logo

Comments (10)

yeuyeuh avatar yeuyeuh commented on June 24, 2024 3

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'

from docker-python.

aysenozun avatar aysenozun commented on June 24, 2024 3

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

from docker-python.

nerdcha avatar nerdcha commented on June 24, 2024 1

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

from docker-python.

anoop93 avatar anoop93 commented on June 24, 2024 1

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

from docker-python.

nerdcha avatar nerdcha commented on June 24, 2024

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.

from docker-python.

nerdcha avatar nerdcha commented on June 24, 2024

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!

from docker-python.

hyzhak avatar hyzhak commented on June 24, 2024

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

from docker-python.

nerdcha avatar nerdcha commented on June 24, 2024

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

from docker-python.

SankBad avatar SankBad commented on June 24, 2024

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

from docker-python.

mrgransky avatar mrgransky commented on June 24, 2024

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

from docker-python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.