我也不知道这个错误是什么,如果遇到这种错误应该怎么修改

2020-05-23 13:15发布

## 编译环境 操作系统 * Windows 10 Tex发行版 * [ ] TexLive `2020` `若需勾选,请把[ ]改成[x]` ## 我的问题 我在编译过程中遇到了这样的错误,请...

## 编译环境 操作系统 * 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}