pip3 install mu-editor Collecting mu-editor Using cached mu_editor-1.0.3-py3-none-any.whl (2.0 MB) Requirement already satisfied: pyqt5==5.14.1 in /usr/lib/python3/dist-packages (from mu-editor) (5.14.1) Collecting gpiozero>=1.4.1 Downloading gpiozero-1.5.1-py2.py3-none-any.whl (138 kB) |████████████████████████████████| 138 kB 3.1 MB/s Collecting pigpio>=1.40.post1 Using cached pigpio-1.46-py2.py3-none-any.whl (39 kB) Collecting semver>=2.8.0 Downloading semver-2.10.0-py2.py3-none-any.whl (12 kB) Requirement already satisfied: guizero>=1.1.0 in /usr/lib/python3/dist-packages (from mu-editor) (1.1.0) Collecting pyflakes==2.0.0 Using cached pyflakes-2.0.0-py2.py3-none-any.whl (53 kB) Collecting pycodestyle==2.4.0 Downloading pycodestyle-2.4.0-py2.py3-none-any.whl (62 kB) |████████████████████████████████| 62 kB 1.9 MB/s Collecting matplotlib==2.2.2 Using cached matplotlib-2.2.2.tar.gz (37.3 MB) ERROR: Command errored out with exit status 1: command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-s9u172yz/matplotlib/setup.py'"'"'; __file__='"'"'/tmp/pip-install-s9u172yz/matplotlib/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-s9u172yz/matplotlib/pip-egg-info cwd: /tmp/pip-install-s9u172yz/matplotlib/ Complete output (66 lines): IMPORTANT WARNING: pkg-config is not installed. matplotlib may not be able to find some of its dependencies ============================================================================ Edit setup.cfg to change the build options BUILDING MATPLOTLIB matplotlib: yes [2.2.2] python: yes [3.8.2 (default, Apr 27 2020, 15:53:34) [GCC 9.3.0]] platform: yes [linux] REQUIRED DEPENDENCIES AND EXTENSIONS numpy: yes [version 1.17.4] install_requires: yes [handled by setuptools] libagg: yes [pkg-config information for 'libagg' could not be found. Using local copy.] freetype: no [The C/C++ header for freetype2 (ft2build.h) could not be found. You may need to install the development package.] png: no [pkg-config information for 'libpng' could not be found.] qhull: yes [pkg-config information for 'libqhull' could not be found. Using local copy.] OPTIONAL SUBPACKAGES sample_data: yes [installing] toolkits: yes [installing] tests: no [skipping due to configuration] toolkits_tests: no [skipping due to configuration] OPTIONAL BACKEND EXTENSIONS macosx: no [Mac OS-X only] qt5agg: yes [installing, Qt: 5.12.8, PyQt: 5.14.1; PySide2 not found] qt4agg: no [PySide not found; PyQt4 not found] gtk3agg: yes [installing, version 3.18.24] Traceback (most recent call last): File "", line 1, in File "/tmp/pip-install-s9u172yz/matplotlib/setup.py", line 197, in msg = pkg.install_help_msg() File "/tmp/pip-install-s9u172yz/matplotlib/setupext.py", line 592, in install_help_msg release = platform.linux_distribution()[0].lower() AttributeError: module 'platform' has no attribute 'linux_distribution' gtk3cairo: yes [installing, version 3.18.24] gtkagg: no [Requires pygtk] tkagg: yes [installing; run-time loading from Python Tcl / Tk] wxagg: no [requires wxPython] gtk: no [Requires pygtk] agg: yes [installing] cairo: yes [installing, pycairo version 1.16.2] windowing: no [Microsoft Windows only] OPTIONAL LATEX DEPENDENCIES dvipng: no ghostscript: yes [version 9.50] latex: no pdftops: yes [version 0.86.1] OPTIONAL PACKAGE DATA dlls: no [skipping due to configuration] ============================================================================ * The following required packages can not be built: * freetype, png ---------------------------------------- ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.