x1ao4 / chinese-localization-for-plex

Plex 拼音排序、拼音搜索及标签汉化工具 - Pinyin Sorting, Pinyin Search, and Tag Localization Tool for Plex
MIT License
52 stars 7 forks source link

大佬,python报错请问怎么解决啊?感谢! #3

Closed philboycn closed 3 weeks ago

philboycn commented 3 weeks ago

报错信息: [root@CentOS plexlocalization]# python3 chinese-localization-for-plex.py --all File "chinese-localization-for-plex.py", line 223 if new_genre := TAGS.get(genre): ^ SyntaxError: invalid syntax

先谢谢大佬!

x1ao4 commented 3 weeks ago

你是不是自己修改了 tags.json 文件里面的标签映射?

philboycn commented 3 weeks ago

没有修改过。但之前安装过MoviePilot并使用过里面的插件,是这个原因吗?应该怎么还原呢?

x1ao4 commented 3 weeks ago

我建议你直接用 Docker 版。

philboycn commented 3 weeks ago

python升级到和docker同版本的3.8.19解决了,谢谢大佬!