Anaconda failed to import matplotlib and reported an error can not import name'ft2font' from'matplotlib'.
method one:
conda install freetype --force-reinstall
Method Two,
conda install matplotlib
(In fact, it doesn't work, generally it must have been installed)
Method three
(Limited to users who use python, after using anaconda, it cannot be resolved)
python -m pip install -I matplotlib
Method four
pip install matplotlib==3.2.0
(For now, you can choose to lower the version, which is also suitable for my computer)
Method five
(According to a recipe, it may be a 360 problem, which was not on the computer before I solved it.)
Method six
It has not been resolved yet, congratulations on opening the new BUG, and welcome to add.