Description
C:\Users\vcvis\Desktop\image-classification-python-master>python global.py
Could not import submodules (exact error was: DLL load failed: 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.
['bluebell', 'buttercup', 'coltsfoot', 'cowslip', 'crocus', 'daffodil', 'daisy', 'dandelion', 'fritillary', 'iris', 'lilyvalley', 'pansy', 'snowdrop', 'sunflower', 'tigerlily', 'tulip', 'windflower']
Traceback (most recent call last):
File "global.py", line 80, in
fv_haralick = fd_haralick(image)
File "global.py", line 33, in fd_haralick
haralick = mahotas.features.haralick(gray).mean(axis=0)
AttributeError: module 'mahotas' has no attribute 'features'
thank you