## 编译环境 操作系统 * Windows 10 Tex发行版 * [ ] TexLive `2020` `若需勾选,请把[ ]改成[x]` ## 我的问题 我在编译过程中遇到了这样的错误,请问应该怎么解决! 错误提示: 开始 : pdflatex.exe -synctex=1 -interaction=nonstopmode "texstudio_Htnpty".tex Use of uninitialized value $ver in scalar chomp at C:/texlive/2020/tlpkg/TeXLive/TLWinGoo.pm line 205. Use of uninitialized value $ver in substitution (s///) at C:/texlive/2020/tlpkg/TeXLive/TLWinGoo.pm line 206. Use of uninitialized value $ver in substitution (s///) at C:/texlive/2020/tlpkg/TeXLive/TLWinGoo.pm line 206. fmtutil: fmtutil is using the following fmtutil.cnf files (in precedence order): fmtutil: c:/texlive/2020/texmf-dist/web2c/fmtutil.cnf fmtutil: fmtutil is using the following fmtutil.cnf file for writing changes: fmtutil: c:/users/liush/.texlive2020/texmf-config/web2c/fmtutil.cnf fmtutil [INFO]: writing formats under c:/users/liush/.texlive2020/texmf-var/web2c fmtutil [INFO]: --- remaking pdflatex with pdftex Can't spawn "cmd.exe": No such file or directory at c:\texlive\2020\texmf-dist\scripts\texlive\fmtutil.pl line 600. fmtutil [WARNING]: inifile pdflatex.ini for pdflatex/pdftex not found. fmtutil [INFO]: disabled formats: 5 fmtutil [INFO]: not selected formats: 54 fmtutil [INFO]: failed to build: 1 (pdftex/pdflatex) fmtutil [INFO]: total formats: 60 fmtutil [INFO]: exiting with status 1 C:\texlive\2020\bin\win32\runscript.tlu:915: command failed with exit code 1: perl.exe c:\texlive\2020\texmf-dist\scripts\texlive\fmtutil.pl --user --byfmt pdflatex Running the command C:\texlive\2020\bin\win32\fmtutil-user.exe kpathsea: Running mktexfmt pdflatex.fmt The command name is C:\texlive\2020\bin\win32\mktexfmt 出现错误 我的代码: \documentclass{article} \begin{document} \section{Simple Text} Words are separated by one or more spaces. Paragraphs are separated by one or more blank lines. The output is not affected by adding extra spaces or extra blank lines to the input file. \end{document}

1 回答1

0
搬运慕子的答案 > 安装不成功, > https://zhuanlan.zhihu.com/p/60244068 > [LaTeX 发行版] TeX Live 无法使用,uninitialized value $ver

你的回答

请登录后回答

你的回答将会帮助更多人,请务必认真回答问题。