Traceback error with Python 3.8.5

I updated my Python library to version 3.8.5 recently via Homebrew and I started get a traceback error with nearly every command except beet config -e. I assume this is related to the Python upgrade as it was working properly before. Any idea would could be causing this? Using the -vv option produces the same output as below.

hello@iMac-2017 ~ % beet ls aero        
Traceback (most recent call last):
  File "/usr/local/bin/beet", line 8, in <module>
  File "/usr/local/lib/python3.8/site-packages/beets/ui/", line 1266, in main
  File "/usr/local/lib/python3.8/site-packages/beets/ui/", line 1249, in _raw_main
    subcommands, plugins, lib = _setup(options, lib)
  File "/usr/local/lib/python3.8/site-packages/beets/ui/", line 1144, in _setup
    lib = _open_library(config)
  File "/usr/local/lib/python3.8/site-packages/beets/ui/", line 1201, in _open_library
  File "/usr/local/lib/python3.8/site-packages/beets/ui/", line 619, in get_path_formats
    path_formats.append((query, template(view.as_str())))
  File "/usr/local/lib/python3.8/site-packages/beets/util/", line 571, in template
    return Template(fmt)
  File "/usr/local/lib/python3.8/site-packages/beets/util/", line 581, in __init__
    self.compiled = self.translate()
  File "/usr/local/lib/python3.8/site-packages/beets/util/", line 614, in translate
    func = compile_func(
  File "/usr/local/lib/python3.8/site-packages/beets/util/", line 155, in compile_func
    prog = compile(mod, '<generated>', 'exec')
ValueError: Name node can't be used with 'None' constant

Please see:

We really really urgently must get a release out… maybe I can do this tomorrow?!


Ok so I just installed the source version of beets and it’s working again. Thanks.

pip3 uninstall beets 
pip3 install