Windows下用texlive+vscode报错Recipe terminated with fatal error: spawn xelatex ENOENT

texlive安装完成后把D:\sofeware\texlive\2021\bin\win32(安装目录)添加到了用户变量,我又把它加入到系统变量里面,重启vscode,之后就可以了

在这里插入图片描述