Closed AshhadDevLab closed 9 months ago
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.
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.
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?
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.
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?
No thanks for your help and time.
To be honest I already resolved this error by installing GTK+ Windows Runtime Environment but the question is that I created a project based on encryption and decryption, this is the source code: Enigma Guard, the issue is that the pygal chart is not appearing and giving me the error:
What I was expecting that is there a way that a user that downloads my project can run my program without this error and without going through the hastle to install Windows Runtime Error? OR Is there a way to install this package within the source code without letting the user to download it separately.