首页 > 其他 > 详细

VScode Recipe ternimated with fatal error: spwan latexmk ENOENT

时间:2021-09-02 05:59:21      阅读:10      评论:0      收藏:0      [点我收藏+]

问题背景:macOS系统,在VScode中,Latex在build时报错显示如:

 Recipe ternimated with fatal error: spwan pdflatex/latexmk ENOENT

 

这种错误的原因:本机的tex没有写入到PATH中,或者PATH中的texlive路径是错误的(我的原因就是更新texlive,安装目录名称发生变化)

 

解决办法:

  1. 找到texlive的安装路径,如我的路径是/usr/local/texlive/2021/bin/universal-darwin
  2. 在zshrc或bashrc中写入export  PATH=dir:$PATH

 

VScode Recipe ternimated with fatal error: spwan latexmk ENOENT

原文:https://www.cnblogs.com/cwfeng/p/15208300.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!