-
-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CairoSVG not have surface #140
Comments
CairoSVG (the python library and bindings) needs Cairo (The C library, part of GTK+) to run. It appears you don't have it an it's headers installed on your system. Judging by the paths in the traceback, I assume you are on windows. I'm not on windows currently, and haven't used Cairo on windows. But this article could be helpful: https://blogs.gnome.org/nacho/2014/08/01/how-to-build-your-gtk-application-on-windows/ |
Hi,elzapp |
Hi @juwen, Installing Cairo on Windows and using it with Python can cause many problems, this bug is well known and has been reported many times. Hopefully, there's a solution. You can carefully follow the steps of the WeasyPrint documentation, replacing |
Can I close this issue, @juwen? |
l installed CairoSVG 2.0.1(pip install CairoSVG).
and have Error:
The text was updated successfully, but these errors were encountered: