Skip to content

AttributeError: module 'scipy.ndimage' has no attribute 'imread' #2

@liujiyaoFDU

Description

@liujiyaoFDU

when run show_nii3.py,there is an error came out:

AttributeError: module 'scipy.ndimage' has no attribute 'imread'

Solution:
comment from the official website of SciPy:

imread is deprecated! imread is deprecated in SciPy 1.0.0, and will be removed in 1.2.0. Use imageio.imread instead.

u need to let from imageio import imread replace from scipy.ndimage import imread in Visualization.py line 7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions