Install matplotlib under windows

1. I don't know why

py -3 -m pip install matplotlib

This installation will report an error/missing freetype and png components/finally did not solve the problem/

Solution:

https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyside

Find Matplotlib , a 2D plotting library.

安装matplotlib的必备组件:Requires numpydateutilpytzpyparsingkiwisolvercyclersetuptools, and optionally pillowpycairotornadowxpythonpysidepyqt4, ghostscript, miktex, ffmpeg, mencoder, avconv, or imagemagick.

Then download the relevant whl file and install it with pip!

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324936844&siteId=291194637