Timeline for Problem with matplotlib
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 22, 2017 at 4:36 | comment | added | Milliways |
Steve, again thanks for the hint. Did not work but sudo apt install python3-gi-cairo did. <rant>From a theoretical point Python seems good; I have even written a few programs BUT the documentation is non-existent or APPALLING, error messages cryptic! Who would produce a package which requires to compile code, BUT not indicate the need to install dev libraries?</rant> The end result is that whenever I have to produce a program which works, it is easier to write in c or c++ (or indeed ANY language with documentation). I will also give the author of the tutorial my opinion!
|
|
Oct 22, 2017 at 3:43 | comment | added | Steve Robillard | @millways try this sudo apt-get install python-gi-cairo | |
Oct 22, 2017 at 3:17 | vote | accept | Milliways | ||
Oct 22, 2017 at 3:16 | comment | added | Milliways | Thanks, this fixed the problem. I now get a graphics window. It doesn´t actually display the expected output and produces errorypeError: Couldn't find foreign struct converter for 'cairo.Context'`, but this is a new problem. | |
Oct 22, 2017 at 1:56 | history | edited | Steve Robillard | CC BY-SA 3.0 |
added 88 characters in body
|
Oct 22, 2017 at 1:25 | history | answered | Steve Robillard | CC BY-SA 3.0 |