loli / medpy

Medical image processing in Python
http://loli.github.io/medpy/
GNU General Public License v3.0
571 stars 138 forks source link

'LazyITKModule' object has no attribute 'AnalyzeImageIO' #26

Closed lxbcd94 closed 7 years ago

lxbcd94 commented 7 years ago

When I try to load an image, the error troubles me alot...... I run the following line: from medpy.io import load Iimage_data, image_header = load(test_data) and the results are: ImageLoadingError Traceback (most recent call last)

in () ----> 1 image_data, image_header = load(test_data) /home/lx/anaconda2/lib/python2.7/site-packages/medpy/io/load.pyc in load(image) 199 logger.debug('Module {} signaled error: {}.'.format(loader, e)) 200 --> 201 raise err 202 203 def __load_nibabel(image): ImageLoadingError: Failes to load image /home/lx/Personal/source code/lasc-master/data/mri/testing/b002/image.mhd as Itk/Vtk MetaImage (.mhd, .mha/.raw). Reason signaled by third-party module: 'LazyITKModule' object has no attribute 'AnalyzeImageIO'
loli commented 7 years ago

See Issue #15.