未找到文件“fancyvrb.sty”。\RequirePackage

未找到文件“fancyvrb.sty”。\RequirePackage

当我尝试在 TexStudio 中编译我的 tex 文件时,出现以下错误代码:

File `fancyvrb.sty' not found. \RequirePackage

MiKTeX 控制台显示 fancyvrb 包已安装并且它也与 TeXworks 一起编译。

控制台显示以下错误日志:

("E:\Program Files (x86)\MiKTeX\tex\latex\float\float.sty"
Package: float 2001/11/08 v1.3d Float enhancements (AL)
\c@float@type=\count173
\float@exts=\toks52
\float@box=\box49
\@float@everytoks=\toks53
\@floatcapt=\box50
)
("E:\Program Files (x86)\MiKTeX 2.9\tex\latex\minted\minted.sty"
Package: minted 2017/07/19 v2.5 Yet another Pygments shim for LaTeX

("E:\Program Files (x86)\MiKTeX\tex\latex\fvextra\fvextra.sty"
Package: fvextra 2017/07/08 v1.3.1 fvextra - extensions and patches for fancyvr
b

! LaTeX Error: File `fancyvrb.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

Enter file name: 
! Emergency stop.
<read *> 

l.27 \RequirePackage
                    {upquote}

*** (cannot \read from terminal in nonstop modes)


Here is how much of TeX's memory you used:
 24721 strings out of 493634
 461525 string characters out of 3141315
 603237 words of memory out of 3000000
 27663 multiletter control sequences out of 15000+200000
 3938 words of font info for 15 fonts, out of 3000000 for 9000
 1025 hyphenation exceptions out of 8191
 62i,0n,56p,1991b,219s stack positions out of 5000i,500n,10000p,200000b,50000s
!  ==> Fatal error occurred, no output PDF file produced!

我已经尝试重新安装 MiKTeX 和 TexStudio,但仍然不起作用。

相关内容