lxgr-linux / pokete

A terminal based Pokemon like game
https://lxgr-linux.github.io/pokete
GNU General Public License v3.0
2.88k stars 182 forks source link

Error on run #295

Open iceguru opened 2 months ago

iceguru commented 2 months ago

Checklist I have:

Describe the bug Traceback (most recent call last): File "/Users/nobody1/./pokete/pokete.py", line 63, in from util.command import RootCommand, Flag File "/Users/nobody1/pokete/util/command/init.py", line 1, in from .command import Command, RootCommand, Flag File "/Users/nobody1/pokete/util/command/command.py", line 37 f"\t{line[0]}{" " * (line_spaces - len(line[0]))}{line[1]}" for line ^ SyntaxError: f-string: expecting '}'

To Reproduce Ran the start cmd

Expected behavior THe game to start

Screenshots Traceback (most recent call last): File "/Users/nobody1/./pokete/pokete.py", line 63, in from util.command import RootCommand, Flag File "/Users/nobody1/pokete/util/command/init.py", line 1, in from .command import Command, RootCommand, Flag File "/Users/nobody1/pokete/util/command/command.py", line 37 f"\t{line[0]}{" " * (line_spaces - len(line[0]))}{line[1]}" for line ^ SyntaxError: f-string: expecting '}'

Environment

lxgr-linux commented 2 months ago

Hello, are you sure you're on python 3.12.x because that crash should only happen on python 3.11 and prior.

iceguru commented 2 months ago

You're right. Apparently I have differrent versions installed. brew said 3.12.4 but pip says 3.9

Guess I get to figure that out.

iceguru commented 2 months ago

Even right click open with the right 3.12.4 doesn't work. Same error.

lxgr-linux commented 2 months ago

That's really interesting. Can you try to run it from ur terminal?

python3 --version
python3 <path/to/pokete.py>