Error at bench init erpnext

Hi all,
I’m trying to install erpnext following this tutorial, but getting this error messages.
I’ve tried looking for the error message but can’t seem to find what’s causing the problem. Any help is greatly appreciated.

$ sudo bench init erpnext
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 7, in
from bench.cli import cli
File “/usr/local/lib/python3.5/dist-packages/bench/cli.py”, line 116
click.secho(f"ERROR: {e}", fg=“red”)
^
SyntaxError: invalid syntax

A couple of things stand out:

The tutorial uses python 3.6 , the error message refers to 3.5.
The bench init command does not use sudo

I might try with updated dependencies.

OS: Ubuntu 20.04.4 LTS
Python: 3.8.10
node: v14.19.0
yarn: v1.22.17
Mariadb: Ver 15.1 Distrib 10.3.34-MariaDB
Redis: 5.0.7
Nginx: 1.18.0
Pip3: pip 21.3.1