我尝试安装它但它只是说没有找到这样的
LaTeX Error: File `fancyhdr.sty' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)
Enter file name: kpsewhich fancyhdr.sty
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.12
然后我尝试通过 MikTeX 包管理器(管理员)手动安装它,它只给我这个消息
MiKTeX Problem Report
Message: The MiKTeX web service has rejected your request. Possible reason: too many requests arriving from your IP address.
Data: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
<HTML><HEAD><TITLE>Service Unavailable</TITLE>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD>
<BODY><h2>Service Unavailable</h2>
<hr><p>HTTP Error 503. The service is unavailable.</p>
</BODY></HTML>
Source: Libraries\MiKTeX\PackageManager\PackageManager.cpp
Line: 132
MiKTeX: 2.9
OS: Microsoft Windows 8 Home Premium Edition, 64-bit (build 9200)
Invokers: explorer
SystemAdmin: yes
PowerUser: no
Root0: C:\Users\Benjamin\AppData\Roaming\MiKTeX\2.9
Root1: C:\Users\Benjamin\AppData\Local\MiKTeX\2.9
Root2: C:\ProgramData\MiKTeX\2.9
Root3: C:\Program Files (x86)\MiKTeX 2.9
UserInstall: C:\Users\Benjamin\AppData\Roaming\MiKTeX\2.9
UserConfig: C:\Users\Benjamin\AppData\Roaming\MiKTeX\2.9
UserData: C:\Users\Benjamin\AppData\Local\MiKTeX\2.9
CommonInstall: C:\Program Files (x86)\MiKTeX 2.9
CommonConfig: C:\ProgramData\MiKTeX\2.9
CommonData: C:\ProgramData\MiKTeX\2.9
希望你知道怎么做
答案1
今天早上我遇到这个错误已经有一段时间了。处理这个问题的唯一方法是等待一段时间。问题出在服务器端,因为更改 IP 或选择另一个镜像在这里不起作用。
万一你再次遇到此错误,你可能需要向维护者。