Traceback on new install

I installed beets on Ubuntu 20.04 using apt install beet.

beet help

Traceback (most recent call last):
  File "/usr/bin/beet", line 11, in <module>
    load_entry_point('beets==1.4.9', 'console_scripts', 'beet')()
  File "/usr/share/beets/beets/ui/", line 1266, in main
  File "/usr/share/beets/beets/ui/", line 1249, in _raw_main
    subcommands, plugins, lib = _setup(options, lib)
  File "/usr/share/beets/beets/ui/", line 1144, in _setup
    lib = _open_library(config)
  File "/usr/share/beets/beets/ui/", line 1201, in _open_library
  File "/usr/share/beets/beets/ui/", line 619, in get_path_formats
    path_formats.append((query, template(view.as_str())))
  File "/usr/share/beets/beets/util/", line 571, in template
    return Template(fmt)
  File "/usr/share/beets/beets/util/", line 581, in __init__
    self.compiled = self.translate()
  File "/usr/share/beets/beets/util/", line 614, in translate
    func = compile_func(
  File "/usr/share/beets/beets/util/", line 155, in compile_func
    prog = compile(mod, '<generated>', 'exec')
ValueError: Name node can't be used with 'None' constant

You’ll want to install from source or use an older version of Python: