simonhmartin / twisst

Topology weighting by iterative sampling of sub-trees
GNU General Public License v3.0
70 stars 18 forks source link

Error getting twisst.py to run #22

Closed skitchen19 closed 3 years ago

skitchen19 commented 3 years ago

I encountered the same error. Were you able to identify the dependency that was missing?

File "./twisst/twisst.py", line 666
    print(".", end="", file=sys.stderr, flush=True)
                  ^
SyntaxError: invalid syntax

Installed versions: ete3 v3.1.2 numpy v1.15.4 python v2.7.15

Thanks!

Originally posted by @skitchen19 in https://github.com/simonhmartin/twisst/issues/14#issuecomment-777918352

simonhmartin commented 3 years ago

As stated in the other answer, using Python 3+ should fix it.