MikTex 未完成安装

MikTex 未完成安装

我安装MikTex并使用得很好,然而,我卸载了它,然后下载了最新版本的MikTex 2.9.5840安装后,编译.tex文件时出现许多错误。我尝试更新软件包(以防有重要的软件包未安装),并收到以下消息:

  1. Error: Windows API error 87: The parameter is incorrect.

  2. Could not start Build & View:PdfLaTeX: pdflatex -synctex=1 -interaction=nonstopmode "<file name>".tex

  3. 我在尝试使用以下方式更新 MiKTeX 时收到此错误MiKTeX Update (Admin)

在此处输入图片描述

最后,所有软件包都安装好了,但我的.tex文件仍然无法编译。有人遇到过这个问题吗?您如何解决?

编辑

我尝试运行更新格式,但对于所有格式它都没有更新并给出错误,这里是 pdflatex 的错误:

======================================================================

Unfortunately, the package miktex-latex could not be installed.Please check the log file:
C:/Users/MUHAMMAD/AppData/Local/MiKTeX/2.9/miktex/log/miktex-makefmt.log
======================================================================

Sorry, but miktex-makefmt did not succeed for the following reason:

The input file could not be found.

The log file hopefully contains the information to get MiKTeX going again:

C:/Users/MUHAMMAD/AppData/Local/MiKTeX/2.9/miktex/log/miktex-makefmt.log

You may want to visit the MiKTeX project page, if you need help.

Sorry, but "MiKTeX Configuration Utility" did not succeed.

The log file hopefully contains the information to get MiKTeX going again:

C:/Users/MUHAMMAD/AppData/Local/MiKTeX/2.9/miktex/log/initexmf.log

You may want to visit the MiKTeX project page, if you need help.

相关内容