>>> import collageradiomics
Could not import submodules (exact error was: DLL load failed while importing _bbox: The specified module could not be found.).
There are many reasons for this error the most common one is that you have
either not built the packages or have built (using `python setup.py build`) or
installed them (using `python setup.py install`) and then proceeded to test
mahotas **without changing the current directory**.
Try installing and then changing to another directory before importing mahotas.
>>> import collageradiomics
>>>
>>> dir(mahotas)
['', 'all', 'builtins', 'cached', 'doc', 'file', 'loader', 'name', 'package', 'path', 'spec_', 'citation', 'citation_text', 'e', 'short_citation_text', 'stderr', 'sys']
>>> dir(mahotas)
['__all__', '__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__spec__', '__version__', '_bbox', '_center_of_mass', '_convex', '_convolve', '_distance', '_filters', '_histogram', '_labeled', '_morph', 'as_rgb', 'bbox', 'border', 'borders', 'bwperim', 'cdilate', 'center_of_mass', 'cerode', 'citation', 'citation_text', 'close', 'close_holes', 'colors', 'convolve', 'convolve1d', 'croptobbox', 'cwatershed', 'daubechies', 'demos', 'dilate', 'disk', 'distance', 'dog', 'edge', 'erode', 'euler', 'features', 'find', 'fullhistogram', 'gaussian_filter', 'gaussian_filter1d', 'get_structuring_elem', 'haar', 'histogram', 'hitmiss', 'idaubechies', 'ihaar', 'imread', 'imresize', 'imsave', 'internal', 'io', 'label', 'labeled', 'labeled_sum', 'laplacian_2D', 'locmax', 'locmin', 'mahotas_version', 'majority_filter', 'mean_filter', 'median_filter', 'moments', 'morph', 'open', 'otsu', 'overlay', 'polygon', 'rank_filter', 'rc', 'regmax', 'regmin', 'resize', 'resize_to', 'segmentation', 'short_citation_text', 'sobel', 'stretch', 'stretch_rgb', 'template_match', 'test', 'tests', 'thin', 'thresholding', 'wavelet_center', 'wavelet_decenter']
Overall, it seems that only a limited version of Mahotas, without its modules, was installed when pip install collageradiomics
was called.