# Traceback error with Python 3.8.5

**URL:** <https://discourse.beets.io/t/traceback-error-with-python-3-8-5/1427>\
**Category:** Help\
**Created:** [July 24, 2020, 1:24pm UTC](https://discourse.beets.io/t/traceback-error-with-python-3-8-5/1427 "2020-07-24T13:24:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JeezOPete](https://avatars.discourse-cdn.com/v4/letter/j/e8c25b/32.png) [@JeezOPete](https://discourse.beets.io/u/JeezOPete)\
**Post date:** [July 24, 2020, 1:24pm UTC](https://discourse.beets.io/t/traceback-error-with-python-3-8-5/1427/1 "2020-07-24T13:24:21Z")

</div>

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>
    sys.exit(main())
  File "/usr/local/lib/python3.8/site-packages/beets/ui/ __init__.py", line 1266, in main
    _raw_main(args)
  File "/usr/local/lib/python3.8/site-packages/beets/ui/ __init__.py", line 1249, in _raw_main
    subcommands, plugins, lib = _setup(options, lib)
  File "/usr/local/lib/python3.8/site-packages/beets/ui/ __init__.py", line 1144, in _setup
    lib = _open_library(config)
  File "/usr/local/lib/python3.8/site-packages/beets/ui/ __init__.py", line 1201, in _open_library
    get_path_formats(),
  File "/usr/local/lib/python3.8/site-packages/beets/ui/ __init__.py", line 619, in get_path_formats
    path_formats.append((query, template(view.as_str())))
  File "/usr/local/lib/python3.8/site-packages/beets/util/functemplate.py", line 571, in template
    return Template(fmt)
  File "/usr/local/lib/python3.8/site-packages/beets/util/functemplate.py", line 581, in __init__
    self.compiled = self.translate()
  File "/usr/local/lib/python3.8/site-packages/beets/util/functemplate.py", line 614, in translate
    func = compile_func(
  File "/usr/local/lib/python3.8/site-packages/beets/util/functemplate.py", line 155, in compile_func
    prog = compile(mod, '<generated>', 'exec')
ValueError: Name node can't be used with 'None' constant
```

---

<div class="post-metadata">

**Author:** ![adrian](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.beets.io/adrian/32/4_2.png) [@adrian](https://discourse.beets.io/u/adrian)\
**Post date:** [July 24, 2020, 1:35pm UTC](https://discourse.beets.io/t/traceback-error-with-python-3-8-5/1427/2 "2020-07-24T13:35:59Z")

</div>

Please see:

> <https://github.com/beetbox/beets/issues/3674>
>
> Problem
> running beet \<any command\> crashes
> ValueError: Name node can't be used with 'None' constant
> Running this command in verbose (-vv) mode:
> $ beet -vv...

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

---

<div class="post-metadata">

**Author:** ![JeezOPete](https://avatars.discourse-cdn.com/v4/letter/j/e8c25b/32.png) [@JeezOPete](https://discourse.beets.io/u/JeezOPete)\
**Post date:** [August 1, 2020, 12:31pm UTC](https://discourse.beets.io/t/traceback-error-with-python-3-8-5/1427/3 "2020-08-01T12:31:25Z")

</div>

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

```
pip3 uninstall beets 
pip3 install https://github.com/beetbox/beets/tarball/master
```
