Skip to content

pythonwarrior fails to launch #7

@rapha8l

Description

@rapha8l

Hi,

Maybe it's a bit late for opening an issue an on old repo :)
Though I encountered this :

 pythonwarrior                                                                                                                                                                     ⎈ no config
Traceback (most recent call last):
  File "/usr/sbin/pythonwarrior", line 16, in <module>
    from pythonwarrior import runner
  File "/usr/lib/python3.8/site-packages/pythonwarrior/runner.py", line 4, in <module>
    from pythonwarrior.game import Game
  File "/usr/lib/python3.8/site-packages/pythonwarrior/game.py", line 5, in <module>
    from pythonwarrior.level import Level
  File "/usr/lib/python3.8/site-packages/pythonwarrior/level.py", line 5, in <module>
    from pythonwarrior.level_loader import LevelLoader
  File "/usr/lib/python3.8/site-packages/pythonwarrior/level_loader.py", line 12, in <module>
    from pythonwarrior.units.warrior import Warrior
  File "/usr/lib/python3.8/site-packages/pythonwarrior/units/warrior.py", line 36
    print "earns %d points" % points
          ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("earns %d points" % points)?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions