Closed page200 closed 2 weeks ago
The documentation has a section titled "Installing cairo on Windows", which links to the 32-bit GTK2 installer. However, that resulted in cannot load library 'C:\Program Files (x86)\GTK2-Runtime\bin\libcairo-2.dll': error 0xc1 (when doing from cairosvg import svg2png, as far as I remember; note that the section is about cairo in general and not only cairocffi). This discussion of a similar WeasyPrint issue emphasizes the importance of using a 64-bit version. The WeasyPrint documentation links to the 64-bit GTK3 installer, which worked for me.
cannot load library 'C:\Program Files (x86)\GTK2-Runtime\bin\libcairo-2.dll': error 0xc1
from cairosvg import svg2png
So maybe the section titled "Installing cairo on Windows" in the cairocffi documentation should additionally link to the 64-bit GTK3 installer and not only the 32-bit GTK2 installer.
Hi!
Thanks for opening this issue. Could you please open a pull request to fix this link?
Shouldn’t this be closed?
The documentation has a section titled "Installing cairo on Windows", which links to the 32-bit GTK2 installer. However, that resulted in
cannot load library 'C:\Program Files (x86)\GTK2-Runtime\bin\libcairo-2.dll': error 0xc1
(when doingfrom cairosvg import svg2png
, as far as I remember; note that the section is about cairo in general and not only cairocffi). This discussion of a similar WeasyPrint issue emphasizes the importance of using a 64-bit version. The WeasyPrint documentation links to the 64-bit GTK3 installer, which worked for me.So maybe the section titled "Installing cairo on Windows" in the cairocffi documentation should additionally link to the 64-bit GTK3 installer and not only the 32-bit GTK2 installer.