在Windows上使用HTMLToPDF时出错

2024-03-28 16:22:52 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在尝试使用html2将HTML转换为PDFpdf.HTMLToPDF格式你知道吗

出现了一个错误,似乎与我在Windows上工作有关。我怎样才能避免这个问题,或者我可以使用其他什么功能?你知道吗

ValueError: close_fds is not supported on Windows platforms if you redirect stdin/stdout/stderr

Tags: 功能closeisonwindowshtml格式错误