For those who are having trouble drawing graphs in python

I installed matplotlib to try to draw a graph in python,

"Import Error: DLL load failed while importing ft2font: The specified module cannot be found."

The graph was not output.

Wai's execution environment: windows10 Python 3.8.6 (Hereafter output with pip freeze) certifi==2020.6.20 cycler==0.10.0 kiwisolver==1.2.0 matplotlib==3.3.2 numpy==1.19.1 pandas==1.1.4 Pillow==7.2.0 pyparsing==2.4.7 python-dateutil==2.8.1 pytz==2020.4 six==1.15.0

In my case, I was able to solve it by downgrading the version of matplotlib to the one below. Specific commands are available on Anaconda Prompt (anaconda3)

pip uninstall matplotlib 
pip install matplotlib== 3.2.2

And said. The "ft2font" that appears in the error message remains a mystery.

Recommended Posts

For those who are having trouble drawing graphs in python
For those who are in trouble because NFC is read infinitely when reading NFC with Python
Explanation for those who are having trouble with "command not found" in rbenv or pyenv
Tips for those who are wondering how to use is and == in Python
For those who are analyzing in atmosphere (Linear Regression Model 1)
For Debian users who are having trouble with a bug in the Linux kernel 5.10
For those who are in trouble with an error when pip install xg boost
A memo for those who use Python in Visual Studio (me)
Dart grammar for those who only know Python
Multiple graphs are displayed in one window (python)
[Solved] I have a question for those who are familiar with Python mechanize.
Things to keep in mind when using Python for those who use MATLAB
Graph drawing in python
(For those unfamiliar with Matplotlib) Tips for drawing graphs with Seaborn
For those who want to write Python with vim
For those who can't install Python on Windows XP
For those who are new to programming but have decided to analyze data with Python
The first step for those who are amateurs of statistics but want to implement machine learning models in Python
I'm having trouble with instance variables being inherited in Python
ABC's A problem analysis for the past 15 times to send to those who are new to Python
Drawing candle charts in python
[python] How to use the library Matplotlib for drawing graphs
Search for strings in Python
Environment construction procedure for those who are not familiar with the python version control system
Techniques for sorting in Python
Reference reference for those who want to code in Rhinoceros / Grasshopper
About "for _ in range ():" in python
If you are having trouble with timeouts when implementing Slack's SlashCommand in Python on AWS Lambda
Python environment construction 2016 for those who aim to be data scientists
NumPy example collection for those who are not good at math
Python techniques for those who want to get rid of beginners
Check for memory leaks in Python
Check for external commands in python
Are you having trouble with "pipenv.exceptions.ResolutionFailure"?
Run unittests in Python (for beginners)
[Comparison of PHP, Ruby, and Python description] For those who are wondering how the description method is different.
Java SE8 Gold measures (for those who are not good at it)
UnionFind in python (enhanced version: strings and tuples are allowed for elements)
I analyzed Airbnb data for those who want to stay in Amsterdam
I tried using NVDashboard (for those who use GPU in jupyter environment)
[YOLO v5] Object detection for people who are masked and those who are not
New in Python 3.9 (2)-Sort directed acyclic graphs in Python
Modules and packages in Python are "namespaces"
Notes on nfc.ContactlessFrontend () for nfcpy in python
Inject is recommended for DDD in Python
Try drawing a simple animation in Python
Line graphs and scale lines in python
AWS ~ For those who will use it ~
Tips for dealing with binaries in Python
Summary of various for statements in Python
Type annotations for Python2 in stub files!
Template for writing batch scripts in python
Process multiple lists with for in Python
MongoDB for the first time in Python
Get a token for conoha in python
Sample for handling eml files in Python
AtCoder cheat sheet in python (for myself)
I searched for prime numbers in python
Notes for using python (pydev) in eclipse
Tips for making small tools in python
Use pathlib in Maya (Python 2.7) for upcoming Python 3.7