I am trying to install matplotlib on python3.4 (the default version on raspberry pi) via pip3 but the installation always fails.
I have tried installing python3.7 but pip3 defaults to installing on python3.4 and I don't know how to change that.
The error message I constantly get is " Beginning with Matplotlib 3.1, Python 3.6 or above is required.". How do I update my python on the pi or install it on python3.4?
Any help appreciated.
sudo apt-get install python3-matplotlibThe dependencies should be OK there.