Skip to content

AttributeError: module 'mahotas' has no attribute 'features' #13

Description

@vcvishal

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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