We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Here's my code:
from PIL import Image import imagehash import sys hash = imagehash.average_hash(Image.open(sys.argv[1]), 16) print(hash)
AttributeError: module 'imagehash' has no attribute 'average_hash' is the error I'm getting.
AttributeError: module 'imagehash' has no attribute 'average_hash'
I'm running Python 3.5.3 and ImageHash 4.3.1.
I had it working before but now it's not and I have no idea as to why.
The text was updated successfully, but these errors were encountered:
try uninstalling and reinstalling imagehash?
imagehash.__file__ can tell you which python file it picks up. Also don't make a file called imagehash.py
imagehash.__file__
imagehash.py
Sorry, something went wrong.
No branches or pull requests
Here's my code:
AttributeError: module 'imagehash' has no attribute 'average_hash'
is the error I'm getting.I'm running Python 3.5.3 and ImageHash 4.3.1.
I had it working before but now it's not and I have no idea as to why.
The text was updated successfully, but these errors were encountered: