I have the exact same issue, also on Python 3.9.6

On Tuesday, July 13, 2021 at 12:18:59 PM UTC-7 Zeraco Saitam wrote:

> 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!
>

-- 
You received this message because you are subscribed to the Google Groups 
"beets" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beets-users/304cfc40-d1f0-4388-aeb2-aa8d8e86be13n%40googlegroups.com.

Reply via email to