It only happens with version 0.16.1. There is no such problem with version 0.15.0.
# Paste the output of the following python commands
3.7.4 (tags/v3.7.4:e09359112e, Jul 8 2019, 20:34:20) [MSC v.1916 64 bit (AMD64)]
Windows-10-10.0.18362-SP0
scikit-image version: 0.16.1
numpy version: 1.16.5
# your output here
AttributeError: module 'skimage' has no attribute 'transform'
@rathaROG what command gave you that output?
I suspect you are doing:
import skimage
skimage.transform.(whatever)
but that was never designed to work: scikit-image uses "lazy importing", so you have to explicitly import submodules:
import skimage.transform
skimage.transform.(whatever)
If it worked before it was an implementation error, not a design flaw.
Please let me know if my intuition above is correct and that fixes your issue...
Hi @jni ! import skimage.transform works. Thanks!
import skimage.transform works .thanks
Most helpful comment
I suspect you are doing:
but that was never designed to work: scikit-image uses "lazy importing", so you have to explicitly import submodules:
If it worked before it was an implementation error, not a design flaw.
Please let me know if my intuition above is correct and that fixes your issue...