Comments (6)
Well, I reached the conclusion that pygal itself uses cairo for the rendering of images so one cannot avoid this error and the only approach is to install the GTK+ Windows Runtime Environment separately.
OK.
Is there anything more we can do for you?
from cairosvg.
No thanks for your help and time.
from cairosvg.
Pygal can generate SVG graphs without using CairoSVG. What is your use case?
Is there a way to install this package within the source code without letting the user to download it separately.
Itβs probably possible to build wheels that include Cairo and its dependencies, but we never tried to do this.
from cairosvg.
Well I am generating the graph and then converting it to png, and as you mentioned above I dont have a use of CairoSVG too but still I am getting this error. By the way I am embeding the graph in my tkinter window.
from cairosvg.
Well I am generating the graph and then converting it to png
If you convert it to PNG, then you need CairoSVG.
By the way I am embeding the graph in my tkinter window.
Maybe you can try to use tksvg instead?
from cairosvg.
Well, I reached the conclusion that pygal itself uses cairo for the rendering of images so one cannot avoid this error and the only approach is to install the GTK+ Windows Runtime Environment separately.
from cairosvg.
Related Issues (20)
- `text` property `shape-inside` not respected HOT 1
- Convert to WebP HOT 1
- Add rlPyCairo to requirements.txt HOT 1
- Stroke Width is not taken into account for final height / width HOT 3
- Conversion of multiple files halted with error HOT 2
- SVG to PDF render improper PNG position HOT 1
- OSError: no library called "cairo-2" was found HOT 1
- RecursionError: maximum recursion depth exceeded in comparison HOT 1
- Truncating fractional height in pixels HOT 4
- svg2pdf incorrect width and height output - HOT 1
- Feature request: support style='background_color:xxxx' in the <svg> object
- Add support for blend modes
- Missing linked images and text HOT 6
- svg2png the stroke attribute causes display anomalies. HOT 1
- Fail of image path resolution in a defs/use context HOT 1
- SVG path parse error
- ValueError: could not convert string to float: 'null' HOT 1
- ValueError: could not convert string to float: '' HOT 1
- Can't convert svg to pdf HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cairosvg.