TeX Live 2020 - 尽管已安装 perl-tk,但 tlmgr 无法加载它

TeX Live 2020 - 尽管已安装 perl-tk,但 tlmgr 无法加载它

我在 Linux 系统上安装了 TeX Live 2020。当我尝试调用时,tlmgr --gui我收到错误消息

tlmgr: Cannot load Tk, thus the GUI cannot be started!
The Perl/Tk module is not shipped with the TeX Live installation.
You have to install it to get the tlmgr GUI working.
(INC = /usr/local/texlive/2020/texmf-dist/scripts/texlive /usr/local/texlive/2020/tlpkg /home/robert/anaconda3/lib/site_perl/5.26.2/x86_64-linux-thread-multi /home/robert/anaconda3/lib/site_perl/5.26.2 /home/robert/anaconda3/lib/5.26.2/x86_64-linux-thread-multi /home/robert/anaconda3/lib/5.26.2 .)

See https://tug.org/texlive/distro.html#perltk for more details.
Goodbye.

但是,我确实安装了 perl-tk。sudo apt-get install perl-tk返回... perl-tk is already the newest version (1:804.033-2build1).

使用我之前在同一系统上安装的 TeX Live 2019 时,这个问题没有发生。有什么想法可以tlmgr --gui解决吗?

答案1

如果您的系统上存在没有 perl/tk 的竞争 perl,请确保分发包在您的 PATH 中位于首位。

相关内容