这是我的python代码:
min_latex = (r"\documentclass{article}"
r"\begin{document}"
r"Hello, world!"
r"\end{document}")
from latex import build_pdf
pdf = build_pdf(min_latex)
当我尝试编译并运行它时,我收到以下错误。我不知道使用这个文件的进程是什么。我还重新启动了pc,检查了taskmanager的任何pdf / latex相关进程,我想没有运气。
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: 'c:\\users\\****\\appdata\\local\\temp\\tmpokrrfs\\tmp2acqs_.latex'
Exception WindowsError: WindowsError(32, 'The process cannot access the file because it is being used by another process') in <bound method TempDir.__del__ of <tempdir.TempDir object at 0x02282B90>> ignored