Attempting to convert an HTML page to a PDF file with pdfkit
results in the error [WinError 740] The requested operation requires elevation.
.
Code:
import pdfkit
path_wkthmltopdf = "D:\\w.exe"
config = pdfkit.configuration(wkhtmltopdf = path_wkthmltopdf )
pdfkit.from_url("http://www.google.com", 'd:\\out.pdf', configuration=config)