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

invalid syntax when importing heatmappy #1

Open
cyborg-girl opened this issue Aug 21, 2017 · 5 comments
Open

invalid syntax when importing heatmappy #1

cyborg-girl opened this issue Aug 21, 2017 · 5 comments

Comments

@cyborg-girl
Copy link

cyborg-girl commented Aug 21, 2017

from heatmappy import Heatmapper

File "/usr/local/lib/python2.7/dist-packages/heatmappy/heatmap.py", line 102
class GreyHeatMapper(metaclass=ABCMeta):
^
SyntaxError: invalid syntax

@renu285
Copy link

renu285 commented Sep 4, 2017

Facing the same issue any fixes?

@axwalker
Copy link
Contributor

axwalker commented Sep 4, 2017

I'm afraid this library doesn't currently support Python 2. In this instance, that metaclass syntax is only available in Python 3.

@renu285
Copy link

renu285 commented Sep 4, 2017

When I run with python3 I get the following error " ImportError: cannot import name 'Heatmapper'"

@renu285
Copy link

renu285 commented Sep 4, 2017

Never mind this works in python3!

@mark-hutom
Copy link

I'm having exactly the same issue : "class Grey ... SyntaxError: invalid syntax"

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

4 participants