Problem background: in MacOS system, in vscode, latex reports an error in build, as shown in:
Recipe ternimated with fatal error: spwan pdflatex/latexmk ENOENT
The reason for this error: the local tex is not written to the path, or the texlive path in the path is wrong (my reason is to update texlive and change the installation directory name)
terms of settlement:
Find the installation path of texlive. For example, my path is/usr/local/texlive/2021/bin/Universal Darwin
Write export in zshrc or bashrc PATH=dir:$PATH
Similar Posts:
- Super detail: command not found: the scratch solution (add the scratch environment variable to Zsh under MAC)
- ERROR Failed to compile with 1 errors
- ImportError: libcusolver.so.8.0: cannot open shared object file: No such file or directory
- 0x8007000d error resolution when installing windows10 with UltraISO
- When hive processes data, it cannot run directly and reports an error: execution error, return code 2 from org.apache.hadoop.hive.ql.exec.mr
- C# System.Data.OracleClient requires Oracle client software version 8.1.7 or greater
- Linux use the man command error: Man: command not found [How to Solve]
- Gopath not set in go command execution
- [How to Solve] gcc-4.7.2 cannot compute suffix of object fil…
- -bash: ls: command not found [How to Solve]