1# Don't use with Anaconda distributions because they include matplotlib already.
2
3# macOS
4python3 -m pip install matplotlib
5
6# Windows (may require elevation)
7python -m pip install matplotlib
8
9# Linux (Debian)
10apt-get install python3-tk
11python3 -m pip install matplotlib