Closed sanderjo closed 2 years ago
Oh, wait ... babelfish?
$ python3.10
Python 3.10.0 (default, Oct 4 2021, 22:09:55) [GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import babelfish
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3/dist-packages/babelfish/__init__.py", line 20, in <module>
from .converters import (LanguageConverter, LanguageReverseConverter, LanguageEquivalenceConverter, CountryConverter,
File "/usr/lib/python3/dist-packages/babelfish/converters/__init__.py", line 11, in <module>
class CaseInsensitiveDict(collections.MutableMapping):
AttributeError: module 'collections' has no attribute 'MutableMapping'
>>>
Let's update babelfish:
$ python3.10 -m pip install babelfish -U
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: babelfish in /usr/lib/python3/dist-packages (0.5.4)
Collecting babelfish
Downloading babelfish-0.6.0-py3-none-any.whl (93 kB)
|████████████████████████████████| 93 kB 425 kB/s
Installing collected packages: babelfish
Successfully installed babelfish-0.6.0
$ python3.10
Python 3.10.0 (default, Oct 4 2021, 22:09:55) [GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import babelfish
>>
Good!
As described in https://github.com/sabnzbd/sabnzbd/issues/1971#issuecomment-958121843
I think I'm uptodate with my pip modules:
FWIW:
Is this something that should be solved in guessit?