Can't make it work on Windows

80 views
Skip to first unread message

Zeraco Saitam

unread,
Jul 13, 2021, 3:18:59 PM7/13/21
to beets
Hi!

I managed to install beets without errors, but when I type "beet" on the console, instead of a list of commands this message appears:

Traceback (most recent call last):
  File "C:\Python39\Scripts\beet-script.py", line 33, in <module>
    sys.exit(load_entry_point('beets==1.4.9', 'console_scripts', 'beet')())
  File "c:\python39\lib\site-packages\beets\ui\__init__.py", line 1266, in main
    _raw_main(args)
  File "c:\python39\lib\site-packages\beets\ui\__init__.py", line 1249, in _raw_main
    subcommands, plugins, lib = _setup(options, lib)
  File "c:\python39\lib\site-packages\beets\ui\__init__.py", line 1144, in _setup
    lib = _open_library(config)
  File "c:\python39\lib\site-packages\beets\ui\__init__.py", line 1201, in _open_library
    get_path_formats(),
  File "c:\python39\lib\site-packages\beets\ui\__init__.py", line 619, in get_path_formats
    path_formats.append((query, template(view.as_str())))
  File "c:\python39\lib\site-packages\beets\util\functemplate.py", line 571, in template
    return Template(fmt)
  File "c:\python39\lib\site-packages\beets\util\functemplate.py", line 581, in __init__
    self.compiled = self.translate()
  File "c:\python39\lib\site-packages\beets\util\functemplate.py", line 614, in translate
    func = compile_func(
  File "c:\python39\lib\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

What went wrong? I reinstalled it multiple times and the same problem appeared every time

btw I'm using Python's latest version (3.9.6) instead of  the 3.6 that the documentation recommends, could that be the problem?

Thanks!

Brian Davidson

unread,
Aug 16, 2021, 2:33:26 PM8/16/21
to beets
I have the exact same issue, also on Python 3.9.6
Reply all
Reply to author
Forward
0 new messages