[Python] 纯文本查看 复制代码 mupdf: cannot open ACEMATT_3400.pdf: No such file or directory
Traceback (most recent call last):
File "E:/PythonFiles/实用/PDF转图片.py", line 42, in <module>
conver_img()
File "E:/PythonFiles/实用/PDF转图片.py", line 27, in conver_img
doc = fitz.open(pdf)
File "D:\Python38\lib\site-packages\fitz\fitz.py", line 3009, in __init__
_fitz.Document_swiginit(self, _fitz.new_Document(filename, stream, filetype, rect, width, height, fontsize))
RuntimeError: cannot open ACEMATT_3400.pdf: No such file or directory
老大,这个是什么意思。我添加了pdf所在的路径 |