Kozea / WeasyPrint

The awesome document factory
https://weasyprint.org
BSD 3-Clause "New" or "Revised" License
7.25k stars 686 forks source link

Windows executable failed #2309

Closed KasaarLtagta closed 1 day ago

KasaarLtagta commented 1 day ago

Hello, I tried to install WeasyPrint v63 on my Windows 11 computer. After confirming that I wanted to execute it (malware suspicion warning), I briefly get this screen and then nothing happens : Image

grewn0uille commented 1 day ago

Hello,

The WeasyPrint executable needs to have at least two parameters: the input (the HTML you want to transform) and the output (name of the outputed PDF).

You can use the executable from a terminal and use the CLI, or you can call the executable from your code.

WeasyPrint doesn’t come with a graphic interface.

KasaarLtagta commented 1 day ago

Oooh OK, Thank you

So my problem is slightly different : I successfully used WeasyPrint with Quarto on my Ubuntu (POP OS) computer, but I don't know how to replicate the process on my Windows machine.

Do you have any ideas?

EDIT : I finally found, i used MSYS and Python without virtual environment.