This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/W32TeX) (preloaded format=pdflatex)

restricted \write18 enabled.

Use of uninitialized value $ver in scalar chomp at D:/Program files/texlive/2019/tlpkg/TeXLive/TLWinGoo.pm line 204.

Use of uninitialized value $ver in substitution (s///) at D:/Program files/texlive/2019/tlpkg/TeXLive/TLWinGoo.pm line 205.

Use of uninitialized value $ver in substitution (s///) at D:/Program files/texlive/2019/tlpkg/TeXLive/TLWinGoo.pm line 205.

fmtutil: fmtutil is using the following fmtutil.cnf files (in precedence order):

fmtutil:   d:/program files/texlive/2019/texmf-dist/web2c/fmtutil.cnf

fmtutil: fmtutil is using the following fmtutil.cnf file for writing changes:

fmtutil:   c:/users/wangsx/.texlive2019/texmf-config/web2c/fmtutil.cnf

fmtutil [INFO]: writing formats under c:/users/wangsx/.texlive2019/texmf-var/web2c

fmtutil [INFO]: --- remaking pdflatex with pdftex

Can't spawn "cmd.exe": No such file or directory at d:\Program files\texlive\2019\texmf-dist\scripts\texlive\fmtutil.pl line 598.

fmtutil [WARNING]: inifile pdflatex.ini for pdflatex/pdftex not found.

fmtutil [INFO]: Disabled formats: 6

fmtutil [INFO]: Not selected formats: 44

fmtutil [INFO]: Failed to build: 1 (pdftex/pdflatex)

fmtutil [INFO]: Total formats: 51

fmtutil [INFO]: exiting with status 1

D:\Program files\texlive\2019\bin\win32\runscript.tlu:902: command failed with exit code 1:

perl.exe "d:\Program files\texlive\2019\texmf-dist\scripts\texlive\fmtutil.pl"  --user --byfmt pdflatex

Running the command D:\Program files\texlive\2019\bin\win32\fmtutil-user.exe

I can't find the format file `pdflatex.fmt'!


kpathsea: Running mktexfmt pdflatex.fmt


The command name is D:\Program files\texlive\2019\bin\win32\mktexfmt



2 回答2

1
<p>第一步:用管理员,命令行执行:</p><pre class="brush:bash;toolbar:false">fmtutil-sys -all</pre><p>第二步,发现异常,那就看 MD5 值检查镜像是否完整,用镜像重新安装。<br></p><p>以上肯定能够解决问题。</p>
  • 谢谢大神,搞定 – xiaolai_2019 2019-08-30 20:31 回复
0
<p>大部分问题都在于你没有正确安装发行版……</p>

你的回答

请登录后回答

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