Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
vcvishal opened this issue Sep 23, 2020 · 0 comments
Open

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

vcvishal opened this issue Sep 23, 2020 · 0 comments

Comments

@vcvishal
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant