Aug-03-2018, 08:37 AM
(This post was last modified: Aug-03-2018, 08:37 AM by Gribouillis.)
Here is what I did to make your script work in kubuntu 16.04:
Replace the line
Replace
In a terminal, run the commands
Replace the line
pie_chart.render()
with pie_chart.render_png('foo.png')
Replace
Bar
with Pie
In a terminal, run the commands
Output:sudo apt install python3-cairosvg
pip3 install --user lxml
pip3 install --user tinycss
pip3 install --user cssselect
Finally, run the program withOutput:python3 foobarbaz.py && xdg-open foo.png