# TypeError on Python 3.8

**URL:** <https://discourse.beets.io/t/typeerror-on-python-3-8/687>\
**Category:** Help\
**Created:** [March 31, 2019, 11:08am UTC](https://discourse.beets.io/t/typeerror-on-python-3-8/687 "2019-03-31T11:08:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![s48111](https://avatars.discourse-cdn.com/v4/letter/s/46a35a/32.png) [@s48111](https://discourse.beets.io/u/s48111)\
**Post date:** [March 31, 2019, 11:08am UTC](https://discourse.beets.io/t/typeerror-on-python-3-8/687/1 "2019-03-31T11:08:06Z")

</div>

When calling beet with Python 3.8a3 installed on Windows 10 64-bit I get this error

```auto
Traceback (most recent call last):
  File "C:\Python38\Scripts\beet-script.py", line 11, in <module>
    load_entry_point('beets==1.4.8', 'console_scripts', 'beet')()
  File "C:\Python38\lib\site-packages\beets-1.4.8-py3.8.egg\beets\ui\ __init__.py
", line 1266, in main
    _raw_main(args)
  File "C:\Python38\lib\site-packages\beets-1.4.8-py3.8.egg\beets\ui\ __init__.py
", line 1249, in _raw_main
    subcommands, plugins, lib = _setup(options, lib)
  File "C:\Python38\lib\site-packages\beets-1.4.8-py3.8.egg\beets\ui\ __init__.py
", line 1144, in _setup
    lib = _open_library(config)
  File "C:\Python38\lib\site-packages\beets-1.4.8-py3.8.egg\beets\ui\ __init__.py
", line 1201, in _open_library
    get_path_formats(),
  File "C:\Python38\lib\site-packages\beets-1.4.8-py3.8.egg\beets\ui\ __init__.py
", line 619, in get_path_formats
    path_formats.append((query, Template(view.as_str())))
  File "C:\Python38\lib\site-packages\beets-1.4.8-py3.8.egg\beets\util\functempl
ate.py", line 558, in __init__
    self.compiled = self.translate()
  File "C:\Python38\lib\site-packages\beets-1.4.8-py3.8.egg\beets\util\functempl
ate.py", line 591, in translate
    func = compile_func(
  File "C:\Python38\lib\site-packages\beets-1.4.8-py3.8.egg\beets\util\functempl
ate.py", line 147, in compile_func
    prog = compile(mod, '<generated>', 'exec')
TypeError: required field "type_ignores" missing from Module

```

I have already compiled the wheel from git master and this still occurs, is there any way to stop it from crashing?

---

<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:** [April 1, 2019, 6:47pm UTC](https://discourse.beets.io/t/typeerror-on-python-3-8/687/2 "2019-04-01T18:47:42Z")

</div>

Please see:

> <https://github.com/beetbox/beets/pull/3202>
