[Help] Where can I get Cairo? #86
-
Hi there, Here are the errors.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
Note: Cairo is not required to use most features of drawsvg. Remove lines I'm not sure the best way to install Cairo on Windows, that's why only the Linux and Mac installation instructions are listed on the README. You can try the instructions here: https://www.cairographics.org/download/. If you succeed, please let me know what worked and I'll add the instructions to the README. Edit: |
Beta Was this translation helpful? Give feedback.
Note: Cairo is not required to use most features of drawsvg. Remove lines
d.rasterize()
andd.save_png()
from the example code. Used.save_svg()
instead.I'm not sure the best way to install Cairo on Windows, that's why only the Linux and Mac installation instructions are listed on the README. You can try the instructions here: https://www.cairographics.org/download/. If you succeed, please let me know what worked and I'll add the instructions to the README.
Edit:
Updated for drawsvg 2.0. For anyone else having trouble installing Cairo, try the conda package manager.