我有安装了 Lyx 2.3 的 Win10。但是,我无法重新配置,并且失败并出现以下错误:
系统重新配置失败。使用默认重新配置,但 lyx 可能无法正常工作。如有必要,请再次重新配置
我抓到了错误日志,它的内容如下:
14:24:45.602: Reconfiguring...
14:24:45.643: python -tt "C:/Program Files (x86)/LyX 2.3/Resources/configure.py" --with-version-suffix=2.3 --binary-dir="C:/Program Files (x86)/LyX 2.3/bin/"
14:24:46.820: checking for DVI to DTL converter...
14:24:46.820: +checking for "dv2dt"... yes
14:24:46.820: checking for DTL to DVI converter...
14:24:46.820: +checking for "dt2dv"... yes
14:24:46.820: checking for a Latex2e program...
14:24:46.820: +checking for "latex"... yes
14:24:46.820: checking for a DVI postprocessing program...
14:24:46.820: +checking for "pplatex"... yes
14:24:46.820: checking for pLaTeX, the Japanese LaTeX...
14:24:46.836: +checking for "platex"... no
14:24:48.340: checking for a java interpreter...
14:24:48.340: +checking for "java"... no
14:24:48.340: checking for a perl interpreter...
14:24:48.355: +checking for "perl"... yes
14:24:48.355: Traceback (most recent call last):
14:24:48.355: File "C:/Program Files (x86)/LyX 2.3/Resources/configure.py", line 1853, in <module>
14:24:48.355: (inkscape_path, inkscape_gui) = os.path.split(checkInkscape())
14:24:48.355: File "C:/Program Files (x86)/LyX 2.3/Resources/configure.py", line 516, in checkInkscape
14:24:48.355: return str(val[0]).split('"')[1]
14:24:48.355: IndexError: list index out of range
14:24:48.355: Recargando configuración...LyX: reconfiguring user dir
support/Systemcall.cpp (294): Systemcall: 'python -tt "C:/Program Files (x86)/LyX 2.3/Resources/configure.py" --with-version-suffix=2.3 --binary-dir="C:/Program Files (x86)/LyX 2.3/bin/"' finished with exit code 1
LyX: Done!
14:24:50.232:(重新配置)
我怀疑 python 有问题。有人知道如何解决这个问题吗?
答案1
最后,我将我的 Lyx 版本更新到 2.3.6,错误就解决了。