brat under monterey 12.4 – cannot get standalone.py to work

69 views
Skip to first unread message

Wolfgang Goederle

unread,
Jun 2, 2022, 1:05:26 PM6/2/22
to brat-users
Hello,
I have been using brat for almost a year now and it's a fantastic tool, unfortunately, the latest update on my mbp (->12.4) removed the old python 2.7 and now I can't get brat to work anymore.
I tried to install python 2 in addition to python 3 on my laptop, which did not work, now I read that the latest version of brat is supposed to be running under python 3 but this is not the case here, I received the following:
$ python standalone.py
  File "standalone.py", line 268
    """, file=sys.stderr)
             ^
SyntaxError: invalid syntax

Any support and help is welcome!

Goran Topic

unread,
Jun 4, 2022, 5:31:32 AM6/4/22
to brat-...@googlegroups.com
Hello Wolfgang.

This error looks like something you'd get if you ran the new (python3) brat using python2.
Try `python --version` to check the version;
and `python3 standalone.py` to try to run under python3.
You will likely need to `pip3 install filelock` if you get an error to that effect.

Hope this helps,

Goran

--

---
You received this message because you are subscribed to the Google Groups "brat-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to brat-users+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/brat-users/0b0f687f-20b5-459b-9cdc-bbcdde151343n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages