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

module 'colorgram' has no attribute 'extract' #12

Open
jgitao opened this issue Jan 8, 2021 · 1 comment
Open

module 'colorgram' has no attribute 'extract' #12

jgitao opened this issue Jan 8, 2021 · 1 comment

Comments

@jgitao
Copy link

jgitao commented Jan 8, 2021

upon installing colorgram successfully and calling colorgram.extract using pycharm it pop-up a message:

colors = colorgram.extract('image.jpg',30)

AttributeError: module 'colorgram' has no attribute 'extract'

Do you know what I'm missing?

@gmaiab
Copy link

gmaiab commented Jun 12, 2021

Hi!
What is your file name?
If your python file name is "colorgram.py" (the same name as the package), try renaming it as something else and check if the problem persists.

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

2 participants