Traceback (most recent call last):


 "D:/Code/CC/paddleOCR.py", line 1, in <module>

from paddleocr import PaddleOCR


 "D:\Code\CC\venv\lib\site-packages\paddleocr\__init__.py", line 16, in <module>

from .paddleocr import PaddleOCR


 "D:\Code\CC\venv\lib\site-packages\paddleocr\paddleocr.py", line 28, in <module>

from tools.infer import predict_system


 "D:\Code\CC\venv\lib\site-packages\paddleocr\tools\infer\predict_system.py", line 27, in <module>

import tools.infer.predict_rec as predict_rec


 "D:\Code\CC\venv\lib\site-packages\paddleocr\tools\infer\predict_rec.py", line 33, in <module>

logger = get_logger()


 "D:\Code\CC\venv\lib\site-packages\paddleocr\ppocr\utils\logging.py", line 61, in get_logger

if dist.get_rank() == 0:
AttributeError: module 'paddle.distributed' has no attribute 'get_rank'
Traceback (most recent call last):


 "/volume1/@appstore/py3k/usr/local/bin/subliminal", line 11, in <module>

sys.exit(subliminal())


 "/volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages/click/core.py", line 722, in __call__

return self.main(*args, **kwargs)


 "/volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages/click/core.py", line 697, in main

rv = self.invoke(ctx)


 "/volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages/click/core.py", line 1066, in invoke

return _process_result(sub_ctx.command.invoke(sub_ctx))


 "/volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages/click/core.py", line 895, in invoke

return ctx.invoke(self.callback, **ctx.params)


 "/volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages/click/core.py", line 535, in invoke

return callback(*args, **kwargs)


 "/volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages/click/decorators.py", line 27, in new_func

return f(get_current_context().obj, *args, **kwargs)


 "/volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages/subliminal/cli.py", line 403, in download

hearing_impaired=hearing_impaired, only_one=single)


 "/volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages/subliminal/core.py", line 211, in download_best_subtitles

for s in subtitles], key=operator.itemgetter(1), reverse=True)


 "/volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages/subliminal/core.py", line 211, in <listcomp>

for s in subtitles], key=operator.itemgetter(1), reverse=True)


 "/volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages/subliminal/score.py", line 106, in compute_score

matches = subtitle.get_matches(video)


 "/volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages/subliminal/providers/opensubtitles.py", line 78, in get_matches

matches |= guess_matches(video, guessit(self.movie_release_name, {'type': 'episode'}))


 "/volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages/subliminal/subtitle.py", line 235, in guess_matches

if video.format and 'format' in guess and not isinstance(guess['format'], list) and guess['format'].lower() == video.format.lower():
AttributeError: 'list' object has no attribute 'lower'
