During matplotlib installation (for python3) some error may occured:
‘The following required packages can not be built:
- freetype
- png’
Thats why some additional steps may be required:
-
install homebrew
-
install pkg-config
brew install pkg-config
- install freetype
brew install freetype
- install matplotlib
pip3 install matplotlib
Enjoy!