GithubHelp home page GithubHelp logo

Comments (6)

liZe avatar liZe commented on September 28, 2024 1

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.

AshhadDevLab avatar AshhadDevLab commented on September 28, 2024 1

No thanks for your help and time.

from cairosvg.

liZe avatar liZe commented on September 28, 2024

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.

AshhadDevLab avatar AshhadDevLab commented on September 28, 2024

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.

liZe avatar liZe commented on September 28, 2024

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.

AshhadDevLab avatar AshhadDevLab commented on September 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.