Traceback (most recent call last):
File "/home/andry/Téléchargements/tortoisehg-6.6.3/./thg", line 163, in <module>
tortoisehg.hgqt.run.run()
File "/usr/lib/python3.10/importlib/util.py", line 247, in __getattribute__
self.__spec__.loader.exec_module(self)
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/home/andry/Téléchargements/tortoisehg-6.6.3/tortoisehg/hgqt/run.py", line 47, in <module>
from tortoisehg.util.i18n import agettext, _
ImportError: cannot import name 'agettext' from 'tortoisehg.util.i18n' (/home/andry/Téléchargements/tortoisehg-6.6.3/tortoisehg/util/i18n.py)
我尝试在 Ubuntu 22.04 中安装 tortoise,当我尝试使用 apt、snap 和 .tar.gz 安装它时出现此错误。我尝试了 tortoiseHg 5.5,但再次出现相同的错误。