Bug in munkres.py?

34 views
Skip to first unread message

Johan Helsingius

unread,
Apr 20, 2019, 10:56:40 AM4/20/19
to beets
Upgrading my server (Ubuntu 18.04.2 LTS), I just installed beets
from scratch using pip. Unfortunately beets doesn't work:

$ beet
Traceback (most recent call last):
File "/home/julf/.local/bin/beet", line 7, in <module>
from beets.ui import main
File
"/home/julf/.local/lib/python2.7/site-packages/beets/ui/__init__.py",
line 42, in <module>
from beets.autotag import mb
File
"/home/julf/.local/lib/python2.7/site-packages/beets/autotag/__init__.py",
line 26, in <module>
from .match import tag_item, tag_album, Proposal # noqa
File
"/home/julf/.local/lib/python2.7/site-packages/beets/autotag/match.py",
line 24, in <module>
from munkres import Munkres
File "/home/julf/.local/lib/python2.7/site-packages/munkres.py", line 79
def pad_matrix(self, matrix: Matrix, pad_value: int=0) -> Matrix:
^
SyntaxError: invalid syntax

Adrian Sampson

unread,
Apr 20, 2019, 11:57:08 AM4/20/19
to beets...@googlegroups.com
Please see:
https://github.com/beetbox/beets/issues/3154

Adrian
> --
> 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 beets-users...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Johan Helsingius

unread,
Apr 21, 2019, 8:46:29 AM4/21/19
to beets...@googlegroups.com
Thanks, but... I might be a bit dense - is there a solution?

Julf

Adrian Sampson

unread,
Apr 21, 2019, 8:50:54 AM4/21/19
to beets...@googlegroups.com
You can manually use an older version of Munkres. Or install beets from source, which requires a non-problematic version.
Reply all
Reply to author
Forward
0 new messages