<h3 dir="auto">Bug summary</h3>
<p dir="auto">For development purposes, I forked and cloned Matploltlib from this Github repository and tried to install using pip in the development mode (<code class="notranslate">-e</code>), but I got the following error.</p>
<ul dir="auto">
<li>I use MacOS Ventura (Darwin 22.2.0) with Apple-Silicon (M1)</li>
<li>The error occurred at the installation of Matplotlib-owned freetype</li>
<li>I could install Matplotlib using system-installed freetype using setup.cfg below, so likely the issue is related to Matplotlib-owned freetype.</li>
</ul>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[libs]
system_freetype = true"><pre class="notranslate"><code class="notranslate">[libs]
system_freetype = true
</code></pre></div>
<ul dir="auto">
<li>The key of the error seems to be the following part:</li>
</ul>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="    cd builds/unix; \
    	        ./configure  '--with-zlib=no' '--with-bzip2=no' '--with-png=no' '--with-harfbuzz=no' '--enable-static' '--disable-shared' '--host=arm64-apple-darwin20.0.0'
    checking build system type... arm-apple-darwin22.2.0
    checking host system type... Invalid configuration `arm64-apple-darwin20.0.0': machine `arm64-apple' not recognized
    configure: error: /bin/sh ./config.sub arm64-apple-darwin20.0.0 failed"><pre class="notranslate"><code class="notranslate">    cd builds/unix; \
    	        ./configure  '--with-zlib=no' '--with-bzip2=no' '--with-png=no' '--with-harfbuzz=no' '--enable-static' '--disable-shared' '--host=arm64-apple-darwin20.0.0'
    checking build system type... arm-apple-darwin22.2.0
    checking host system type... Invalid configuration `arm64-apple-darwin20.0.0': machine `arm64-apple' not recognized
    configure: error: /bin/sh ./config.sub arm64-apple-darwin20.0.0 failed
</code></pre></div>
<p dir="auto">A possible reason may be either</p>
<ul dir="auto">
<li>Matplotlib-owned freetype (2.6.1) does not support Apple-Silicon MacOS (True?), or</li>
<li>It does support non-latest Apple-Silicon MacOS, but not yet the latest Ventura?</li>
</ul>
<p dir="auto">One thing I am wondering is why <code class="notranslate">'--host=arm64-apple-darwin20.0.0'</code> is given in <code class="notranslate">./configure</code> although my Darwin is <code class="notranslate">22.2.0</code>.</p>
<p dir="auto">Thank you very much developers for your help in advance.</p>
<h3 dir="auto">Code for reproduction</h3>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="pip install -e ."><pre class="notranslate"><span class="pl-s1">pip</span> <span class="pl-s1">install</span> <span class="pl-c1">-</span><span class="pl-s1">e</span> .</pre></div>
<h3 dir="auto">Actual outcome</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Obtaining file:///Users/ikeda/codes/matplotlib
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
    Preparing wheel metadata ... done
Requirement already satisfied: setuptools-scm&gt;=7 in /Users/ikeda/miniconda3/envs/matplotlib-dev/lib/python3.9/site-packages (from matplotlib==0.1.0.dev45646+gcb06554) (7.1.0)
Requirement already satisfied: kiwisolver&gt;=1.0.1 in /Users/ikeda/miniconda3/envs/matplotlib-dev/lib/python3.9/site-packages (from matplotlib==0.1.0.dev45646+gcb06554) (1.4.4)
Requirement already satisfied: packaging&gt;=20.0 in /Users/ikeda/miniconda3/envs/matplotlib-dev/lib/python3.9/site-packages (from matplotlib==0.1.0.dev45646+gcb06554) (23.0)
Requirement already satisfied: pyparsing&gt;=2.3.1 in /Users/ikeda/miniconda3/envs/matplotlib-dev/lib/python3.9/site-packages (from matplotlib==0.1.0.dev45646+gcb06554) (3.0.9)
Requirement already satisfied: importlib-resources&gt;=3.2.0 in /Users/ikeda/miniconda3/envs/matplotlib-dev/lib/python3.9/site-packages (from matplotlib==0.1.0.dev45646+gcb06554) (5.10.2)
Requirement already satisfied: python-dateutil&gt;=2.7 in /Users/ikeda/miniconda3/envs/matplotlib-dev/lib/python3.9/site-packages (from matplotlib==0.1.0.dev45646+gcb06554) (2.8.2)
Requirement already satisfied: pillow&gt;=6.2.0 in /Users/ikeda/miniconda3/envs/matplotlib-dev/lib/python3.9/site-packages (from matplotlib==0.1.0.dev45646+gcb06554) (9.4.0)
Requirement already satisfied: contourpy&gt;=1.0.1 in /Users/ikeda/miniconda3/envs/matplotlib-dev/lib/python3.9/site-packages (from matplotlib==0.1.0.dev45646+gcb06554) (1.0.7)
Requirement already satisfied: numpy&gt;=1.21 in /Users/ikeda/miniconda3/envs/matplotlib-dev/lib/python3.9/site-packages (from matplotlib==0.1.0.dev45646+gcb06554) (1.24.1)
Requirement already satisfied: fonttools&gt;=4.22.0 in /Users/ikeda/miniconda3/envs/matplotlib-dev/lib/python3.9/site-packages (from matplotlib==0.1.0.dev45646+gcb06554) (4.38.0)
Requirement already satisfied: cycler&gt;=0.10 in /Users/ikeda/miniconda3/envs/matplotlib-dev/lib/python3.9/site-packages (from matplotlib==0.1.0.dev45646+gcb06554) (0.11.0)
Requirement already satisfied: zipp&gt;=3.1.0 in /Users/ikeda/miniconda3/envs/matplotlib-dev/lib/python3.9/site-packages (from importlib-resources&gt;=3.2.0-&gt;matplotlib==0.1.0.dev45646+gcb06554) (3.11.0)
Requirement already satisfied: six&gt;=1.5 in /Users/ikeda/miniconda3/envs/matplotlib-dev/lib/python3.9/site-packages (from python-dateutil&gt;=2.7-&gt;matplotlib==0.1.0.dev45646+gcb06554) (1.16.0)
Requirement already satisfied: setuptools in /Users/ikeda/miniconda3/envs/matplotlib-dev/lib/python3.9/site-packages (from setuptools-scm&gt;=7-&gt;matplotlib==0.1.0.dev45646+gcb06554) (61.2.0)
Requirement already satisfied: typing-extensions in /Users/ikeda/miniconda3/envs/matplotlib-dev/lib/python3.9/site-packages (from setuptools-scm&gt;=7-&gt;matplotlib==0.1.0.dev45646+gcb06554) (4.4.0)
Requirement already satisfied: tomli&gt;=1.0.0 in /Users/ikeda/miniconda3/envs/matplotlib-dev/lib/python3.9/site-packages (from setuptools-scm&gt;=7-&gt;matplotlib==0.1.0.dev45646+gcb06554) (2.0.1)
Installing collected packages: matplotlib
  Running setup.py develop for matplotlib
    ERROR: Command errored out with exit status 1:
     command: /Users/ikeda/miniconda3/envs/matplotlib-dev/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '&quot;'&quot;'/Users/ikeda/codes/matplotlib/setup.py'&quot;'&quot;'; __file__='&quot;'&quot;'/Users/ikeda/codes/matplotlib/setup.py'&quot;'&quot;';f = getattr(tokenize, '&quot;'&quot;'open'&quot;'&quot;', open)(__file__) if os.path.exists(__file__) else io.StringIO('&quot;'&quot;'from setuptools import setup; setup()'&quot;'&quot;');code = f.read().replace('&quot;'&quot;'\r\n'&quot;'&quot;', '&quot;'&quot;'\n'&quot;'&quot;');f.close();exec(compile(code, __file__, '&quot;'&quot;'exec'&quot;'&quot;'))' develop --no-deps
         cwd: /Users/ikeda/codes/matplotlib/
    Complete output (99 lines):
    /private/var/folders/t5/tgnxd1t14qzcl85h5c9w8v2r0000gn/T/pip-build-env-1ros0004/overlay/lib/python3.9/site-packages/setuptools/dist.py:285: SetuptoolsDeprecationWarning: The namespace_packages parameter is deprecated, consider using implicit namespaces instead (PEP 420).
      warnings.warn(msg, SetuptoolsDeprecationWarning)

    Edit mplsetup.cfg to change the build options; suppress output with --quiet.

    BUILDING MATPLOTLIB
          python: yes [3.9.12 (main, Apr  5 2022, 01:52:34)  [Clang 12.0.0 ]]
        platform: yes [darwin]
           tests: no  [skipping due to configuration]
          macosx: yes [installing]

    running develop
    /private/var/folders/t5/tgnxd1t14qzcl85h5c9w8v2r0000gn/T/pip-build-env-1ros0004/overlay/lib/python3.9/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
      warnings.warn(
    /private/var/folders/t5/tgnxd1t14qzcl85h5c9w8v2r0000gn/T/pip-build-env-1ros0004/overlay/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
      warnings.warn(
    running egg_info
    writing lib/matplotlib.egg-info/PKG-INFO
    writing dependency_links to lib/matplotlib.egg-info/dependency_links.txt
    writing namespace_packages to lib/matplotlib.egg-info/namespace_packages.txt
    writing requirements to lib/matplotlib.egg-info/requires.txt
    writing top-level names to lib/matplotlib.egg-info/top_level.txt
    adding license file 'LICENSE/LICENSE'
    adding license file 'LICENSE/LICENSE_AMSFONTS'
    adding license file 'LICENSE/LICENSE_BAKOMA'
    adding license file 'LICENSE/LICENSE_CARLOGO'
    adding license file 'LICENSE/LICENSE_COLORBREWER'
    adding license file 'LICENSE/LICENSE_COURIERTEN'
    adding license file 'LICENSE/LICENSE_JSXTOOLS_RESIZE_OBSERVER'
    adding license file 'LICENSE/LICENSE_QHULL'
    adding license file 'LICENSE/LICENSE_QT4_EDITOR'
    adding license file 'LICENSE/LICENSE_SOLARIZED'
    adding license file 'LICENSE/LICENSE_STIX'
    adding license file 'LICENSE/LICENSE_YORICK'
    writing manifest file 'lib/matplotlib.egg-info/SOURCES.txt'
    running build_ext
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/ikeda/miniconda3/envs/matplotlib-dev/include -arch arm64 -I/Users/ikeda/miniconda3/envs/matplotlib-dev/include -fPIC -O2 -isystem /Users/ikeda/miniconda3/envs/matplotlib-dev/include -arch arm64 -I/Users/ikeda/miniconda3/envs/matplotlib-dev/include/python3.9 -c /var/folders/t5/tgnxd1t14qzcl85h5c9w8v2r0000gn/T/tmpguoklkpy.cpp -o var/folders/t5/tgnxd1t14qzcl85h5c9w8v2r0000gn/T/tmpguoklkpy.o -fvisibility=hidden
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/ikeda/miniconda3/envs/matplotlib-dev/include -arch arm64 -I/Users/ikeda/miniconda3/envs/matplotlib-dev/include -fPIC -O2 -isystem /Users/ikeda/miniconda3/envs/matplotlib-dev/include -arch arm64 -I/Users/ikeda/miniconda3/envs/matplotlib-dev/include/python3.9 -c /var/folders/t5/tgnxd1t14qzcl85h5c9w8v2r0000gn/T/tmpr8z1i6kz.cpp -o var/folders/t5/tgnxd1t14qzcl85h5c9w8v2r0000gn/T/tmpr8z1i6kz.o -fvisibility-inlines-hidden
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/ikeda/miniconda3/envs/matplotlib-dev/include -arch arm64 -I/Users/ikeda/miniconda3/envs/matplotlib-dev/include -fPIC -O2 -isystem /Users/ikeda/miniconda3/envs/matplotlib-dev/include -arch arm64 -I/Users/ikeda/miniconda3/envs/matplotlib-dev/include/python3.9 -c /var/folders/t5/tgnxd1t14qzcl85h5c9w8v2r0000gn/T/tmpi980u469.cpp -o var/folders/t5/tgnxd1t14qzcl85h5c9w8v2r0000gn/T/tmpi980u469.o -flto

    FreeType build system -- automatic system detection

    The following settings are used:

      platform                    unix
      compiler                    clang
      configuration directory     ./builds/unix
      configuration rules         ./builds/unix/unix.mk

    If this does not correspond to your system or settings please remove the file
    `config.mk' from this directory then read the INSTALL file for help.

    Otherwise, simply type `/Applications/Xcode.app/Contents/Developer/usr/bin/make' again to build the library,
    or `/Applications/Xcode.app/Contents/Developer/usr/bin/make refdoc' to build the API reference (this needs python &gt;= 2.6).

    cd builds/unix; \
    	        ./configure  '--with-zlib=no' '--with-bzip2=no' '--with-png=no' '--with-harfbuzz=no' '--enable-static' '--disable-shared' '--host=arm64-apple-darwin20.0.0'
    checking build system type... arm-apple-darwin22.2.0
    checking host system type... Invalid configuration `arm64-apple-darwin20.0.0': machine `arm64-apple' not recognized
    configure: error: /bin/sh ./config.sub arm64-apple-darwin20.0.0 failed
    make: *** [setup] Error 1
    Traceback (most recent call last):
      File &quot;&lt;string&gt;&quot;, line 1, in &lt;module&gt;
      File &quot;/Users/ikeda/codes/matplotlib/setup.py&quot;, line 270, in &lt;module&gt;
        setup(  # Finally, pass this all along to setuptools to do the heavy lifting.
      File &quot;/private/var/folders/t5/tgnxd1t14qzcl85h5c9w8v2r0000gn/T/pip-build-env-1ros0004/overlay/lib/python3.9/site-packages/setuptools/__init__.py&quot;, line 108, in setup
        return distutils.core.setup(**attrs)
      File &quot;/private/var/folders/t5/tgnxd1t14qzcl85h5c9w8v2r0000gn/T/pip-build-env-1ros0004/overlay/lib/python3.9/site-packages/setuptools/_distutils/core.py&quot;, line 185, in setup
        return run_commands(dist)
      File &quot;/private/var/folders/t5/tgnxd1t14qzcl85h5c9w8v2r0000gn/T/pip-build-env-1ros0004/overlay/lib/python3.9/site-packages/setuptools/_distutils/core.py&quot;, line 201, in run_commands
        dist.run_commands()
      File &quot;/private/var/folders/t5/tgnxd1t14qzcl85h5c9w8v2r0000gn/T/pip-build-env-1ros0004/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py&quot;, line 969, in run_commands
        self.run_command(cmd)
      File &quot;/private/var/folders/t5/tgnxd1t14qzcl85h5c9w8v2r0000gn/T/pip-build-env-1ros0004/overlay/lib/python3.9/site-packages/setuptools/dist.py&quot;, line 1213, in run_command
        super().run_command(command)
      File &quot;/private/var/folders/t5/tgnxd1t14qzcl85h5c9w8v2r0000gn/T/pip-build-env-1ros0004/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py&quot;, line 988, in run_command
        cmd_obj.run()
      File &quot;/private/var/folders/t5/tgnxd1t14qzcl85h5c9w8v2r0000gn/T/pip-build-env-1ros0004/overlay/lib/python3.9/site-packages/setuptools/command/develop.py&quot;, line 34, in run
        self.install_for_development()
      File &quot;/private/var/folders/t5/tgnxd1t14qzcl85h5c9w8v2r0000gn/T/pip-build-env-1ros0004/overlay/lib/python3.9/site-packages/setuptools/command/develop.py&quot;, line 114, in install_for_development
        self.run_command('build_ext')
      File &quot;/private/var/folders/t5/tgnxd1t14qzcl85h5c9w8v2r0000gn/T/pip-build-env-1ros0004/overlay/lib/python3.9/site-packages/setuptools/_distutils/cmd.py&quot;, line 318, in run_command
        self.distribution.run_command(command)
      File &quot;/private/var/folders/t5/tgnxd1t14qzcl85h5c9w8v2r0000gn/T/pip-build-env-1ros0004/overlay/lib/python3.9/site-packages/setuptools/dist.py&quot;, line 1213, in run_command
        super().run_command(command)
      File &quot;/private/var/folders/t5/tgnxd1t14qzcl85h5c9w8v2r0000gn/T/pip-build-env-1ros0004/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py&quot;, line 988, in run_command
        cmd_obj.run()
      File &quot;/private/var/folders/t5/tgnxd1t14qzcl85h5c9w8v2r0000gn/T/pip-build-env-1ros0004/overlay/lib/python3.9/site-packages/setuptools/command/build_ext.py&quot;, line 84, in run
        _build_ext.run(self)
      File &quot;/private/var/folders/t5/tgnxd1t14qzcl85h5c9w8v2r0000gn/T/pip-build-env-1ros0004/overlay/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py&quot;, line 346, in run
        self.build_extensions()
      File &quot;/Users/ikeda/codes/matplotlib/setup.py&quot;, line 183, in build_extensions
        package.do_custom_build(env)
      File &quot;/Users/ikeda/codes/matplotlib/setupext.py&quot;, line 654, in do_custom_build
        subprocess.check_call(configure, env=env, cwd=src_path)
      File &quot;/Users/ikeda/miniconda3/envs/matplotlib-dev/lib/python3.9/subprocess.py&quot;, line 373, in check_call
        raise CalledProcessError(retcode, cmd)
    subprocess.CalledProcessError: Command '['./configure', '--with-zlib=no', '--with-bzip2=no', '--with-png=no', '--with-harfbuzz=no', '--enable-static', '--disable-shared', '--host=arm64-apple-darwin20.0.0']' returned non-zero exit status 2.
    Building freetype in build/freetype-2.6.1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /Users/ikeda/miniconda3/envs/matplotlib-dev/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '&quot;'&quot;'/Users/ikeda/codes/matplotlib/setup.py'&quot;'&quot;'; __file__='&quot;'&quot;'/Users/ikeda/codes/matplotlib/setup.py'&quot;'&quot;';f = getattr(tokenize, '&quot;'&quot;'open'&quot;'&quot;', open)(__file__) if os.path.exists(__file__) else io.StringIO('&quot;'&quot;'from setuptools import setup; setup()'&quot;'&quot;');code = f.read().replace('&quot;'&quot;'\r\n'&quot;'&quot;', '&quot;'&quot;'\n'&quot;'&quot;');f.close();exec(compile(code, __file__, '&quot;'&quot;'exec'&quot;'&quot;'))' develop --no-deps Check the logs for full command output."><pre class="notranslate"><code class="notranslate">Obtaining file:///Users/ikeda/codes/matplotlib
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
    Preparing wheel metadata ... done
Requirement already satisfied: setuptools-scm&gt;=7 in /Users/ikeda/miniconda3/envs/matplotlib-dev/lib/python3.9/site-packages (from matplotlib==0.1.0.dev45646+gcb06554) (7.1.0)
Requirement already satisfied: kiwisolver&gt;=1.0.1 in /Users/ikeda/miniconda3/envs/matplotlib-dev/lib/python3.9/site-packages (from matplotlib==0.1.0.dev45646+gcb06554) (1.4.4)
Requirement already satisfied: packaging&gt;=20.0 in /Users/ikeda/miniconda3/envs/matplotlib-dev/lib/python3.9/site-packages (from matplotlib==0.1.0.dev45646+gcb06554) (23.0)
Requirement already satisfied: pyparsing&gt;=2.3.1 in /Users/ikeda/miniconda3/envs/matplotlib-dev/lib/python3.9/site-packages (from matplotlib==0.1.0.dev45646+gcb06554) (3.0.9)
Requirement already satisfied: importlib-resources&gt;=3.2.0 in /Users/ikeda/miniconda3/envs/matplotlib-dev/lib/python3.9/site-packages (from matplotlib==0.1.0.dev45646+gcb06554) (5.10.2)
Requirement already satisfied: python-dateutil&gt;=2.7 in /Users/ikeda/miniconda3/envs/matplotlib-dev/lib/python3.9/site-packages (from matplotlib==0.1.0.dev45646+gcb06554) (2.8.2)
Requirement already satisfied: pillow&gt;=6.2.0 in /Users/ikeda/miniconda3/envs/matplotlib-dev/lib/python3.9/site-packages (from matplotlib==0.1.0.dev45646+gcb06554) (9.4.0)
Requirement already satisfied: contourpy&gt;=1.0.1 in /Users/ikeda/miniconda3/envs/matplotlib-dev/lib/python3.9/site-packages (from matplotlib==0.1.0.dev45646+gcb06554) (1.0.7)
Requirement already satisfied: numpy&gt;=1.21 in /Users/ikeda/miniconda3/envs/matplotlib-dev/lib/python3.9/site-packages (from matplotlib==0.1.0.dev45646+gcb06554) (1.24.1)
Requirement already satisfied: fonttools&gt;=4.22.0 in /Users/ikeda/miniconda3/envs/matplotlib-dev/lib/python3.9/site-packages (from matplotlib==0.1.0.dev45646+gcb06554) (4.38.0)
Requirement already satisfied: cycler&gt;=0.10 in /Users/ikeda/miniconda3/envs/matplotlib-dev/lib/python3.9/site-packages (from matplotlib==0.1.0.dev45646+gcb06554) (0.11.0)
Requirement already satisfied: zipp&gt;=3.1.0 in /Users/ikeda/miniconda3/envs/matplotlib-dev/lib/python3.9/site-packages (from importlib-resources&gt;=3.2.0-&gt;matplotlib==0.1.0.dev45646+gcb06554) (3.11.0)
Requirement already satisfied: six&gt;=1.5 in /Users/ikeda/miniconda3/envs/matplotlib-dev/lib/python3.9/site-packages (from python-dateutil&gt;=2.7-&gt;matplotlib==0.1.0.dev45646+gcb06554) (1.16.0)
Requirement already satisfied: setuptools in /Users/ikeda/miniconda3/envs/matplotlib-dev/lib/python3.9/site-packages (from setuptools-scm&gt;=7-&gt;matplotlib==0.1.0.dev45646+gcb06554) (61.2.0)
Requirement already satisfied: typing-extensions in /Users/ikeda/miniconda3/envs/matplotlib-dev/lib/python3.9/site-packages (from setuptools-scm&gt;=7-&gt;matplotlib==0.1.0.dev45646+gcb06554) (4.4.0)
Requirement already satisfied: tomli&gt;=1.0.0 in /Users/ikeda/miniconda3/envs/matplotlib-dev/lib/python3.9/site-packages (from setuptools-scm&gt;=7-&gt;matplotlib==0.1.0.dev45646+gcb06554) (2.0.1)
Installing collected packages: matplotlib
  Running setup.py develop for matplotlib
    ERROR: Command errored out with exit status 1:
     command: /Users/ikeda/miniconda3/envs/matplotlib-dev/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/Users/ikeda/codes/matplotlib/setup.py'"'"'; __file__='"'"'/Users/ikeda/codes/matplotlib/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' develop --no-deps
         cwd: /Users/ikeda/codes/matplotlib/
    Complete output (99 lines):
    /private/var/folders/t5/tgnxd1t14qzcl85h5c9w8v2r0000gn/T/pip-build-env-1ros0004/overlay/lib/python3.9/site-packages/setuptools/dist.py:285: SetuptoolsDeprecationWarning: The namespace_packages parameter is deprecated, consider using implicit namespaces instead (PEP 420).
      warnings.warn(msg, SetuptoolsDeprecationWarning)

    Edit mplsetup.cfg to change the build options; suppress output with --quiet.

    BUILDING MATPLOTLIB
          python: yes [3.9.12 (main, Apr  5 2022, 01:52:34)  [Clang 12.0.0 ]]
        platform: yes [darwin]
           tests: no  [skipping due to configuration]
          macosx: yes [installing]

    running develop
    /private/var/folders/t5/tgnxd1t14qzcl85h5c9w8v2r0000gn/T/pip-build-env-1ros0004/overlay/lib/python3.9/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
      warnings.warn(
    /private/var/folders/t5/tgnxd1t14qzcl85h5c9w8v2r0000gn/T/pip-build-env-1ros0004/overlay/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
      warnings.warn(
    running egg_info
    writing lib/matplotlib.egg-info/PKG-INFO
    writing dependency_links to lib/matplotlib.egg-info/dependency_links.txt
    writing namespace_packages to lib/matplotlib.egg-info/namespace_packages.txt
    writing requirements to lib/matplotlib.egg-info/requires.txt
    writing top-level names to lib/matplotlib.egg-info/top_level.txt
    adding license file 'LICENSE/LICENSE'
    adding license file 'LICENSE/LICENSE_AMSFONTS'
    adding license file 'LICENSE/LICENSE_BAKOMA'
    adding license file 'LICENSE/LICENSE_CARLOGO'
    adding license file 'LICENSE/LICENSE_COLORBREWER'
    adding license file 'LICENSE/LICENSE_COURIERTEN'
    adding license file 'LICENSE/LICENSE_JSXTOOLS_RESIZE_OBSERVER'
    adding license file 'LICENSE/LICENSE_QHULL'
    adding license file 'LICENSE/LICENSE_QT4_EDITOR'
    adding license file 'LICENSE/LICENSE_SOLARIZED'
    adding license file 'LICENSE/LICENSE_STIX'
    adding license file 'LICENSE/LICENSE_YORICK'
    writing manifest file 'lib/matplotlib.egg-info/SOURCES.txt'
    running build_ext
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/ikeda/miniconda3/envs/matplotlib-dev/include -arch arm64 -I/Users/ikeda/miniconda3/envs/matplotlib-dev/include -fPIC -O2 -isystem /Users/ikeda/miniconda3/envs/matplotlib-dev/include -arch arm64 -I/Users/ikeda/miniconda3/envs/matplotlib-dev/include/python3.9 -c /var/folders/t5/tgnxd1t14qzcl85h5c9w8v2r0000gn/T/tmpguoklkpy.cpp -o var/folders/t5/tgnxd1t14qzcl85h5c9w8v2r0000gn/T/tmpguoklkpy.o -fvisibility=hidden
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/ikeda/miniconda3/envs/matplotlib-dev/include -arch arm64 -I/Users/ikeda/miniconda3/envs/matplotlib-dev/include -fPIC -O2 -isystem /Users/ikeda/miniconda3/envs/matplotlib-dev/include -arch arm64 -I/Users/ikeda/miniconda3/envs/matplotlib-dev/include/python3.9 -c /var/folders/t5/tgnxd1t14qzcl85h5c9w8v2r0000gn/T/tmpr8z1i6kz.cpp -o var/folders/t5/tgnxd1t14qzcl85h5c9w8v2r0000gn/T/tmpr8z1i6kz.o -fvisibility-inlines-hidden
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/ikeda/miniconda3/envs/matplotlib-dev/include -arch arm64 -I/Users/ikeda/miniconda3/envs/matplotlib-dev/include -fPIC -O2 -isystem /Users/ikeda/miniconda3/envs/matplotlib-dev/include -arch arm64 -I/Users/ikeda/miniconda3/envs/matplotlib-dev/include/python3.9 -c /var/folders/t5/tgnxd1t14qzcl85h5c9w8v2r0000gn/T/tmpi980u469.cpp -o var/folders/t5/tgnxd1t14qzcl85h5c9w8v2r0000gn/T/tmpi980u469.o -flto

    FreeType build system -- automatic system detection

    The following settings are used:

      platform                    unix
      compiler                    clang
      configuration directory     ./builds/unix
      configuration rules         ./builds/unix/unix.mk

    If this does not correspond to your system or settings please remove the file
    `config.mk' from this directory then read the INSTALL file for help.

    Otherwise, simply type `/Applications/Xcode.app/Contents/Developer/usr/bin/make' again to build the library,
    or `/Applications/Xcode.app/Contents/Developer/usr/bin/make refdoc' to build the API reference (this needs python &gt;= 2.6).

    cd builds/unix; \
    	        ./configure  '--with-zlib=no' '--with-bzip2=no' '--with-png=no' '--with-harfbuzz=no' '--enable-static' '--disable-shared' '--host=arm64-apple-darwin20.0.0'
    checking build system type... arm-apple-darwin22.2.0
    checking host system type... Invalid configuration `arm64-apple-darwin20.0.0': machine `arm64-apple' not recognized
    configure: error: /bin/sh ./config.sub arm64-apple-darwin20.0.0 failed
    make: *** [setup] Error 1
    Traceback (most recent call last):
      File "&lt;string&gt;", line 1, in &lt;module&gt;
      File "/Users/ikeda/codes/matplotlib/setup.py", line 270, in &lt;module&gt;
        setup(  # Finally, pass this all along to setuptools to do the heavy lifting.
      File "/private/var/folders/t5/tgnxd1t14qzcl85h5c9w8v2r0000gn/T/pip-build-env-1ros0004/overlay/lib/python3.9/site-packages/setuptools/__init__.py", line 108, in setup
        return distutils.core.setup(**attrs)
      File "/private/var/folders/t5/tgnxd1t14qzcl85h5c9w8v2r0000gn/T/pip-build-env-1ros0004/overlay/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup
        return run_commands(dist)
      File "/private/var/folders/t5/tgnxd1t14qzcl85h5c9w8v2r0000gn/T/pip-build-env-1ros0004/overlay/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
        dist.run_commands()
      File "/private/var/folders/t5/tgnxd1t14qzcl85h5c9w8v2r0000gn/T/pip-build-env-1ros0004/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
        self.run_command(cmd)
      File "/private/var/folders/t5/tgnxd1t14qzcl85h5c9w8v2r0000gn/T/pip-build-env-1ros0004/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 1213, in run_command
        super().run_command(command)
      File "/private/var/folders/t5/tgnxd1t14qzcl85h5c9w8v2r0000gn/T/pip-build-env-1ros0004/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
        cmd_obj.run()
      File "/private/var/folders/t5/tgnxd1t14qzcl85h5c9w8v2r0000gn/T/pip-build-env-1ros0004/overlay/lib/python3.9/site-packages/setuptools/command/develop.py", line 34, in run
        self.install_for_development()
      File "/private/var/folders/t5/tgnxd1t14qzcl85h5c9w8v2r0000gn/T/pip-build-env-1ros0004/overlay/lib/python3.9/site-packages/setuptools/command/develop.py", line 114, in install_for_development
        self.run_command('build_ext')
      File "/private/var/folders/t5/tgnxd1t14qzcl85h5c9w8v2r0000gn/T/pip-build-env-1ros0004/overlay/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
        self.distribution.run_command(command)
      File "/private/var/folders/t5/tgnxd1t14qzcl85h5c9w8v2r0000gn/T/pip-build-env-1ros0004/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 1213, in run_command
        super().run_command(command)
      File "/private/var/folders/t5/tgnxd1t14qzcl85h5c9w8v2r0000gn/T/pip-build-env-1ros0004/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
        cmd_obj.run()
      File "/private/var/folders/t5/tgnxd1t14qzcl85h5c9w8v2r0000gn/T/pip-build-env-1ros0004/overlay/lib/python3.9/site-packages/setuptools/command/build_ext.py", line 84, in run
        _build_ext.run(self)
      File "/private/var/folders/t5/tgnxd1t14qzcl85h5c9w8v2r0000gn/T/pip-build-env-1ros0004/overlay/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py", line 346, in run
        self.build_extensions()
      File "/Users/ikeda/codes/matplotlib/setup.py", line 183, in build_extensions
        package.do_custom_build(env)
      File "/Users/ikeda/codes/matplotlib/setupext.py", line 654, in do_custom_build
        subprocess.check_call(configure, env=env, cwd=src_path)
      File "/Users/ikeda/miniconda3/envs/matplotlib-dev/lib/python3.9/subprocess.py", line 373, in check_call
        raise CalledProcessError(retcode, cmd)
    subprocess.CalledProcessError: Command '['./configure', '--with-zlib=no', '--with-bzip2=no', '--with-png=no', '--with-harfbuzz=no', '--enable-static', '--disable-shared', '--host=arm64-apple-darwin20.0.0']' returned non-zero exit status 2.
    Building freetype in build/freetype-2.6.1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /Users/ikeda/miniconda3/envs/matplotlib-dev/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/Users/ikeda/codes/matplotlib/setup.py'"'"'; __file__='"'"'/Users/ikeda/codes/matplotlib/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' develop --no-deps Check the logs for full command output.
</code></pre></div>
<h3 dir="auto">Expected outcome</h3>
<p dir="auto">Hopefully, Matplotlib should be able to be installed also in the lastest MacOS Ventura.</p>
<h3 dir="auto">Additional information</h3>
<p dir="auto">macOS Ventura 13.1 Apple M1 Pro Darwin 22.2.0 arm</p>
<h3 dir="auto">Operating system</h3>
<p dir="auto">OS/X</p>
<h3 dir="auto">Matplotlib Version</h3>
<p dir="auto">commit <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/matplotlib/matplotlib/commit/2403d747aab07b8dd2b328850262a2a16fabab9f/hovercard" href="https://github.com/matplotlib/matplotlib/commit/2403d747aab07b8dd2b328850262a2a16fabab9f"><tt>2403d74</tt></a></p>
<h3 dir="auto">Matplotlib Backend</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Python version</h3>
<p dir="auto">Python 3.9.12</p>
<h3 dir="auto">Jupyter version</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Installation</h3>
<p dir="auto">git checkout</p>
<h3 dir="auto">Bug summary</h3>
<p dir="auto">Following the <a href="https://matplotlib.org/devdocs/devel/development_setup.html#install-matplotlib-in-editable-mode" rel="nofollow">setup guide</a>, I cloned the repo, created a conda environment, and when I try to run <code class="notranslate">python -m pip install -ve . </code>, it throws a <code class="notranslate">subprocess-exited-with-error</code> exception.</p>
<p dir="auto">I have all the <a href="https://matplotlib.org/devdocs/devel/dependencies.html#development-dependencies" rel="nofollow">development dependencies</a> installed, so I'm not sure what could be going wrong.</p>
<h3 dir="auto">Code for reproduction</h3>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="python -m pip install -ve ."><pre class="notranslate"><span class="pl-s1">python</span> <span class="pl-c1">-</span><span class="pl-s1">m</span> <span class="pl-s1">pip</span> <span class="pl-s1">install</span> <span class="pl-c1">-</span><span class="pl-s1">ve</span> .</pre></div>
<h3 dir="auto">Actual outcome</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="(mpl-dev) ~/code/py/matplotlib (main ✗) SETUPTOOLS_ENABLE_FEATURES=&quot;legacy-editable&quot; python -m pip install -ve .
Using pip 22.2.2 from /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages/pip (python 3.10)
Obtaining file:///Users/tnie/code/py/matplotlib
  Running command pip subprocess to install build dependencies
  Collecting certifi&gt;=2020.06.20
    Using cached certifi-2022.9.24-py3-none-any.whl (161 kB)
  Collecting numpy&gt;=1.19
    Using cached numpy-1.23.4-cp310-cp310-macosx_11_0_arm64.whl (13.3 MB)
  Collecting setuptools_scm&gt;=7
    Using cached setuptools_scm-7.0.5-py3-none-any.whl (42 kB)
  Collecting tomli&gt;=1.0.0
    Using cached tomli-2.0.1-py3-none-any.whl (12 kB)
  Collecting packaging&gt;=20.0
    Using cached packaging-21.3-py3-none-any.whl (40 kB)
  Collecting setuptools
    Using cached setuptools-65.5.0-py3-none-any.whl (1.2 MB)
  Collecting typing-extensions
    Using cached typing_extensions-4.4.0-py3-none-any.whl (26 kB)
  Collecting pyparsing!=3.0.5,&gt;=2.0.2
    Using cached pyparsing-3.0.9-py3-none-any.whl (98 kB)
  Installing collected packages: typing-extensions, tomli, setuptools, pyparsing, numpy, certifi, packaging, setuptools_scm
  Successfully installed certifi-2022.9.24 numpy-1.23.4 packaging-21.3 pyparsing-3.0.9 setuptools-65.5.0 setuptools_scm-7.0.5 tomli-2.0.1 typing-extensions-4.4.0
  Installing build dependencies ... done
  Running command Checking if build backend supports build_editable
  Checking if build backend supports build_editable ... done
  Running command Getting requirements to build wheel
  /private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-build-env-yure_ojr/overlay/lib/python3.10/site-packages/setuptools/dist.py:286: SetuptoolsDeprecationWarning: The namespace_packages parameter is deprecated, consider using implicit namespaces instead (PEP 420).
    warnings.warn(msg, SetuptoolsDeprecationWarning)

  Edit mplsetup.cfg to change the build options; suppress output with --quiet.

  BUILDING MATPLOTLIB
        python: yes [3.10.6 | packaged by conda-forge | (main, Aug 22 2022,
                    20:41:22) [Clang 13.0.1 ]]
      platform: yes [darwin]
         tests: no  [skipping due to configuration]
        macosx: yes [installing]

  running egg_info
  writing lib/matplotlib.egg-info/PKG-INFO
  writing dependency_links to lib/matplotlib.egg-info/dependency_links.txt
  writing namespace_packages to lib/matplotlib.egg-info/namespace_packages.txt
  writing requirements to lib/matplotlib.egg-info/requires.txt
  writing top-level names to lib/matplotlib.egg-info/top_level.txt
  adding license file 'LICENSE/LICENSE'
  adding license file 'LICENSE/LICENSE_AMSFONTS'
  adding license file 'LICENSE/LICENSE_BAKOMA'
  adding license file 'LICENSE/LICENSE_CARLOGO'
  adding license file 'LICENSE/LICENSE_COLORBREWER'
  adding license file 'LICENSE/LICENSE_COURIERTEN'
  adding license file 'LICENSE/LICENSE_JSXTOOLS_RESIZE_OBSERVER'
  adding license file 'LICENSE/LICENSE_QT4_EDITOR'
  adding license file 'LICENSE/LICENSE_SOLARIZED'
  adding license file 'LICENSE/LICENSE_STIX'
  adding license file 'LICENSE/LICENSE_YORICK'
  writing manifest file 'lib/matplotlib.egg-info/SOURCES.txt'
  Getting requirements to build wheel ... done
  Running command pip subprocess to install backend dependencies
  Collecting wheel
    Using cached wheel-0.37.1-py2.py3-none-any.whl (35 kB)
  Installing collected packages: wheel
  Successfully installed wheel-0.37.1
  Installing backend dependencies ... done
  Running command Preparing metadata (pyproject.toml)
  /private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-build-env-yure_ojr/overlay/lib/python3.10/site-packages/setuptools/dist.py:286: SetuptoolsDeprecationWarning: The namespace_packages parameter is deprecated, consider using implicit namespaces instead (PEP 420).
    warnings.warn(msg, SetuptoolsDeprecationWarning)

  Edit mplsetup.cfg to change the build options; suppress output with --quiet.

  BUILDING MATPLOTLIB
        python: yes [3.10.6 | packaged by conda-forge | (main, Aug 22 2022,
                    20:41:22) [Clang 13.0.1 ]]
      platform: yes [darwin]
         tests: no  [skipping due to configuration]
        macosx: yes [installing]

  running dist_info
  creating /private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-modern-metadata-fj_hu2nd/matplotlib.egg-info
  writing /private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-modern-metadata-fj_hu2nd/matplotlib.egg-info/PKG-INFO
  writing dependency_links to /private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-modern-metadata-fj_hu2nd/matplotlib.egg-info/dependency_links.txt
  writing namespace_packages to /private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-modern-metadata-fj_hu2nd/matplotlib.egg-info/namespace_packages.txt
  writing requirements to /private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-modern-metadata-fj_hu2nd/matplotlib.egg-info/requires.txt
  writing top-level names to /private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-modern-metadata-fj_hu2nd/matplotlib.egg-info/top_level.txt
  writing manifest file '/private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-modern-metadata-fj_hu2nd/matplotlib.egg-info/SOURCES.txt'
  adding license file 'LICENSE/LICENSE'
  adding license file 'LICENSE/LICENSE_AMSFONTS'
  adding license file 'LICENSE/LICENSE_BAKOMA'
  adding license file 'LICENSE/LICENSE_CARLOGO'
  adding license file 'LICENSE/LICENSE_COLORBREWER'
  adding license file 'LICENSE/LICENSE_COURIERTEN'
  adding license file 'LICENSE/LICENSE_JSXTOOLS_RESIZE_OBSERVER'
  adding license file 'LICENSE/LICENSE_QT4_EDITOR'
  adding license file 'LICENSE/LICENSE_SOLARIZED'
  adding license file 'LICENSE/LICENSE_STIX'
  adding license file 'LICENSE/LICENSE_YORICK'
  writing manifest file '/private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-modern-metadata-fj_hu2nd/matplotlib.egg-info/SOURCES.txt'
  creating '/private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-modern-metadata-fj_hu2nd/matplotlib-0.1.0.dev44573+g1f9dc78.d20221014.dist-info'
  adding license file &quot;LICENSE/LICENSE_CARLOGO&quot; (matched pattern &quot;LICENSE/*&quot;)
  adding license file &quot;LICENSE/LICENSE&quot; (matched pattern &quot;LICENSE/*&quot;)
  adding license file &quot;LICENSE/LICENSE_SOLARIZED&quot; (matched pattern &quot;LICENSE/*&quot;)
  adding license file &quot;LICENSE/LICENSE_AMSFONTS&quot; (matched pattern &quot;LICENSE/*&quot;)
  adding license file &quot;LICENSE/LICENSE_BAKOMA&quot; (matched pattern &quot;LICENSE/*&quot;)
  adding license file &quot;LICENSE/LICENSE_QT4_EDITOR&quot; (matched pattern &quot;LICENSE/*&quot;)
  adding license file &quot;LICENSE/LICENSE_STIX&quot; (matched pattern &quot;LICENSE/*&quot;)
  adding license file &quot;LICENSE/LICENSE_JSXTOOLS_RESIZE_OBSERVER&quot; (matched pattern &quot;LICENSE/*&quot;)
  adding license file &quot;LICENSE/LICENSE_YORICK&quot; (matched pattern &quot;LICENSE/*&quot;)
  adding license file &quot;LICENSE/LICENSE_COLORBREWER&quot; (matched pattern &quot;LICENSE/*&quot;)
  adding license file &quot;LICENSE/LICENSE_COURIERTEN&quot; (matched pattern &quot;LICENSE/*&quot;)
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: pillow&gt;=6.2.0 in /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages (from matplotlib==0.1.0.dev44573+g1f9dc78.d20221014) (9.2.0)
Requirement already satisfied: fonttools&gt;=4.22.0 in /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages (from matplotlib==0.1.0.dev44573+g1f9dc78.d20221014) (4.37.4)
Requirement already satisfied: setuptools-scm&gt;=7 in /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages (from matplotlib==0.1.0.dev44573+g1f9dc78.d20221014) (7.0.5)
Requirement already satisfied: cycler&gt;=0.10 in /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages (from matplotlib==0.1.0.dev44573+g1f9dc78.d20221014) (0.11.0)
Requirement already satisfied: python-dateutil&gt;=2.7 in /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages (from matplotlib==0.1.0.dev44573+g1f9dc78.d20221014) (2.8.2)
Requirement already satisfied: kiwisolver&gt;=1.0.1 in /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages (from matplotlib==0.1.0.dev44573+g1f9dc78.d20221014) (1.4.4)
Requirement already satisfied: contourpy&gt;=1.0.1 in /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages (from matplotlib==0.1.0.dev44573+g1f9dc78.d20221014) (1.0.5)
Requirement already satisfied: pyparsing&gt;=2.2.1 in /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages (from matplotlib==0.1.0.dev44573+g1f9dc78.d20221014) (3.0.9)
Requirement already satisfied: numpy&gt;=1.19 in /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages (from matplotlib==0.1.0.dev44573+g1f9dc78.d20221014) (1.23.3)
Requirement already satisfied: packaging&gt;=20.0 in /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages (from matplotlib==0.1.0.dev44573+g1f9dc78.d20221014) (21.3)
Requirement already satisfied: six&gt;=1.5 in /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages (from python-dateutil&gt;=2.7-&gt;matplotlib==0.1.0.dev44573+g1f9dc78.d20221014) (1.16.0)
Requirement already satisfied: setuptools in /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages (from setuptools-scm&gt;=7-&gt;matplotlib==0.1.0.dev44573+g1f9dc78.d20221014) (65.5.0)
Requirement already satisfied: tomli&gt;=1.0.0 in /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages (from setuptools-scm&gt;=7-&gt;matplotlib==0.1.0.dev44573+g1f9dc78.d20221014) (2.0.1)
Requirement already satisfied: typing-extensions in /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages (from setuptools-scm&gt;=7-&gt;matplotlib==0.1.0.dev44573+g1f9dc78.d20221014) (4.4.0)
Installing collected packages: matplotlib
  Attempting uninstall: matplotlib
    Found existing installation: matplotlib 3.6.1
    Uninstalling matplotlib-3.6.1:
      Removing file or directory /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages/__pycache__/pylab.cpython-310.pyc
      Removing file or directory /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages/matplotlib-3.6.1-py3.10-nspkg.pth
      Removing file or directory /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages/matplotlib-3.6.1.dist-info/
      Removing file or directory /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages/matplotlib/
      Removing file or directory /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages/mpl_toolkits/axes_grid1/
      Removing file or directory /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages/mpl_toolkits/axisartist/
      Removing file or directory /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages/mpl_toolkits/mplot3d/
      Removing file or directory /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages/mpl_toolkits/tests/
      Removing file or directory /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages/pylab.py
      Successfully uninstalled matplotlib-3.6.1
  Running setup.py develop for matplotlib
    Running command python setup.py develop
    /private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-build-env-yure_ojr/overlay/lib/python3.10/site-packages/setuptools/dist.py:286: SetuptoolsDeprecationWarning: The namespace_packages parameter is deprecated, consider using implicit namespaces instead (PEP 420).
      warnings.warn(msg, SetuptoolsDeprecationWarning)

    Edit mplsetup.cfg to change the build options; suppress output with --quiet.

    BUILDING MATPLOTLIB
          python: yes [3.10.6 | packaged by conda-forge | (main, Aug 22 2022,
                      20:41:22) [Clang 13.0.1 ]]
        platform: yes [darwin]
           tests: no  [skipping due to configuration]
          macosx: yes [installing]

    running develop
    /private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-build-env-yure_ojr/overlay/lib/python3.10/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
      warnings.warn(
    /private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-build-env-yure_ojr/overlay/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
      warnings.warn(
    running egg_info
    writing lib/matplotlib.egg-info/PKG-INFO
    writing dependency_links to lib/matplotlib.egg-info/dependency_links.txt
    writing namespace_packages to lib/matplotlib.egg-info/namespace_packages.txt
    writing requirements to lib/matplotlib.egg-info/requires.txt
    writing top-level names to lib/matplotlib.egg-info/top_level.txt
    adding license file 'LICENSE/LICENSE'
    adding license file 'LICENSE/LICENSE_AMSFONTS'
    adding license file 'LICENSE/LICENSE_BAKOMA'
    adding license file 'LICENSE/LICENSE_CARLOGO'
    adding license file 'LICENSE/LICENSE_COLORBREWER'
    adding license file 'LICENSE/LICENSE_COURIERTEN'
    adding license file 'LICENSE/LICENSE_JSXTOOLS_RESIZE_OBSERVER'
    adding license file 'LICENSE/LICENSE_QT4_EDITOR'
    adding license file 'LICENSE/LICENSE_SOLARIZED'
    adding license file 'LICENSE/LICENSE_STIX'
    adding license file 'LICENSE/LICENSE_YORICK'
    writing manifest file 'lib/matplotlib.egg-info/SOURCES.txt'
    running build_ext
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/include -arch arm64 -fPIC -O2 -isystem /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/include -arch arm64 -I/opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/include/python3.10 -c /var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/tmpw_eu7bd5.cpp -o var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/tmpw_eu7bd5.o -fvisibility=hidden
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/include -arch arm64 -fPIC -O2 -isystem /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/include -arch arm64 -I/opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/include/python3.10 -c /var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/tmpkkqo0md2.cpp -o var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/tmpkkqo0md2.o -fvisibility-inlines-hidden
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/include -arch arm64 -fPIC -O2 -isystem /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/include -arch arm64 -I/opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/include/python3.10 -c /var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/tmp2rkel642.cpp -o var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/tmp2rkel642.o -flto

    FreeType build system -- automatic system detection

    The following settings are used:

      platform                    unix
      compiler                    clang
      configuration directory     ./builds/unix
      configuration rules         ./builds/unix/unix.mk

    If this does not correspond to your system or settings please remove the file
    `config.mk' from this directory then read the INSTALL file for help.

    Otherwise, simply type `/Library/Developer/CommandLineTools/usr/bin/make' again to build the library,
    or `/Library/Developer/CommandLineTools/usr/bin/make refdoc' to build the API reference (this needs python &gt;= 2.6).

    cd builds/unix; \
                ./configure  '--with-zlib=no' '--with-bzip2=no' '--with-png=no' '--with-harfbuzz=no' '--enable-static' '--disable-shared' '--host=arm64-apple-darwin20.0.0'
    checking build system type... arm-apple-darwin21.5.0
    checking host system type... Invalid configuration `arm64-apple-darwin20.0.0': machine `arm64-apple' not recognized
    configure: error: /bin/sh ./config.sub arm64-apple-darwin20.0.0 failed
    make: *** [setup] Error 1
    Traceback (most recent call last):
      File &quot;&lt;string&gt;&quot;, line 2, in &lt;module&gt;
      File &quot;&lt;pip-setuptools-caller&gt;&quot;, line 34, in &lt;module&gt;
      File &quot;/Users/tnie/code/py/matplotlib/setup.py&quot;, line 270, in &lt;module&gt;
        setup(  # Finally, pass this all along to setuptools to do the heavy lifting.
      File &quot;/private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-build-env-yure_ojr/overlay/lib/python3.10/site-packages/setuptools/__init__.py&quot;, line 87, in setup
        return distutils.core.setup(**attrs)
      File &quot;/private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-build-env-yure_ojr/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py&quot;, line 185, in setup
        return run_commands(dist)
      File &quot;/private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-build-env-yure_ojr/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py&quot;, line 201, in run_commands
        dist.run_commands()
      File &quot;/private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-build-env-yure_ojr/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py&quot;, line 968, in run_commands
        self.run_command(cmd)
      File &quot;/private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-build-env-yure_ojr/overlay/lib/python3.10/site-packages/setuptools/dist.py&quot;, line 1217, in run_command
        super().run_command(command)
      File &quot;/private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-build-env-yure_ojr/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py&quot;, line 987, in run_command
        cmd_obj.run()
      File &quot;/private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-build-env-yure_ojr/overlay/lib/python3.10/site-packages/setuptools/command/develop.py&quot;, line 34, in run
        self.install_for_development()
      File &quot;/private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-build-env-yure_ojr/overlay/lib/python3.10/site-packages/setuptools/command/develop.py&quot;, line 114, in install_for_development
        self.run_command('build_ext')
      File &quot;/private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-build-env-yure_ojr/overlay/lib/python3.10/site-packages/setuptools/_distutils/cmd.py&quot;, line 319, in run_command
        self.distribution.run_command(command)
      File &quot;/private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-build-env-yure_ojr/overlay/lib/python3.10/site-packages/setuptools/dist.py&quot;, line 1217, in run_command
        super().run_command(command)
      File &quot;/private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-build-env-yure_ojr/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py&quot;, line 987, in run_command
        cmd_obj.run()
      File &quot;/private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-build-env-yure_ojr/overlay/lib/python3.10/site-packages/setuptools/command/build_ext.py&quot;, line 84, in run
        _build_ext.run(self)
      File &quot;/private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-build-env-yure_ojr/overlay/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py&quot;, line 346, in run
        self.build_extensions()
      File &quot;/Users/tnie/code/py/matplotlib/setup.py&quot;, line 183, in build_extensions
        package.do_custom_build(env)
      File &quot;/Users/tnie/code/py/matplotlib/setupext.py&quot;, line 641, in do_custom_build
        subprocess.check_call(configure, env=env, cwd=src_path)
      File &quot;/opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/subprocess.py&quot;, line 369, in check_call
        raise CalledProcessError(retcode, cmd)
    subprocess.CalledProcessError: Command '['./configure', '--with-zlib=no', '--with-bzip2=no', '--with-png=no', '--with-harfbuzz=no', '--enable-static', '--disable-shared', '--host=arm64-apple-darwin20.0.0']' returned non-zero exit status 2.
    Building freetype in build/freetype-2.6.1
    error: subprocess-exited-with-error

    × python setup.py develop did not run successfully.
    │ exit code: 1
    ╰─&gt; See above for output.

    note: This error originates from a subprocess, and is likely not a problem with pip.
    full command: /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/bin/python -c '
    exec(compile('&quot;'&quot;''&quot;'&quot;''&quot;'&quot;'
    # This is &lt;pip-setuptools-caller&gt; -- a caller that pip uses to run setup.py
    #
    # - It imports setuptools before invoking setup.py, to enable projects that directly
    #   import from `distutils.core` to work with newer packaging standards.
    # - It provides a clear error message when setuptools is not installed.
    # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so
    #   setuptools doesn'&quot;'&quot;'t think the script is `-c`. This avoids the following warning:
    #     manifest_maker: standard file '&quot;'&quot;'-c'&quot;'&quot;' not found&quot;.
    # - It generates a shim setup.py, for handling setup.cfg-only projects.
    import os, sys, tokenize

    try:
        import setuptools
    except ImportError as error:
        print(
            &quot;ERROR: Can not execute `setup.py` since setuptools is not available in &quot;
            &quot;the build environment.&quot;,
            file=sys.stderr,
        )
        sys.exit(1)

    __file__ = %r
    sys.argv[0] = __file__

    if os.path.exists(__file__):
        filename = __file__
        with tokenize.open(__file__) as f:
            setup_py_code = f.read()
    else:
        filename = &quot;&lt;auto-generated setuptools caller&gt;&quot;
        setup_py_code = &quot;from setuptools import setup; setup()&quot;

    exec(compile(setup_py_code, filename, &quot;exec&quot;))
    '&quot;'&quot;''&quot;'&quot;''&quot;'&quot;' % ('&quot;'&quot;'/Users/tnie/code/py/matplotlib/setup.py'&quot;'&quot;',), &quot;&lt;pip-setuptools-caller&gt;&quot;, &quot;exec&quot;))' develop --no-deps
    cwd: /Users/tnie/code/py/matplotlib/
  Rolling back uninstall of matplotlib
  Moving to /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages/__pycache__/pylab.cpython-310.pyc
   from /private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-uninstall-4nkxktri/pylab.cpython-310.pyc
  Moving to /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages/matplotlib-3.6.1-py3.10-nspkg.pth
   from /private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-uninstall-wsgach0q/matplotlib-3.6.1-py3.10-nspkg.pth
  Moving to /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages/matplotlib-3.6.1.dist-info/
   from /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages/~atplotlib-3.6.1.dist-info
  Moving to /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages/matplotlib/
   from /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages/~atplotlib
  Moving to /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages/mpl_toolkits/axes_grid1/
   from /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages/mpl_toolkits/~xes_grid1
  Moving to /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages/mpl_toolkits/axisartist/
   from /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages/mpl_toolkits/~xisartist
  Moving to /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages/mpl_toolkits/mplot3d/
   from /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages/mpl_toolkits/~plot3d
  Moving to /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages/mpl_toolkits/tests/
   from /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages/mpl_toolkits/~ests
  Moving to /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages/pylab.py
   from /private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-uninstall-wsgach0q/pylab.py
error: subprocess-exited-with-error

× python setup.py develop did not run successfully.
│ exit code: 1
╰─&gt; See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip."><pre class="notranslate"><code class="notranslate">(mpl-dev) ~/code/py/matplotlib (main ✗) SETUPTOOLS_ENABLE_FEATURES="legacy-editable" python -m pip install -ve .
Using pip 22.2.2 from /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages/pip (python 3.10)
Obtaining file:///Users/tnie/code/py/matplotlib
  Running command pip subprocess to install build dependencies
  Collecting certifi&gt;=2020.06.20
    Using cached certifi-2022.9.24-py3-none-any.whl (161 kB)
  Collecting numpy&gt;=1.19
    Using cached numpy-1.23.4-cp310-cp310-macosx_11_0_arm64.whl (13.3 MB)
  Collecting setuptools_scm&gt;=7
    Using cached setuptools_scm-7.0.5-py3-none-any.whl (42 kB)
  Collecting tomli&gt;=1.0.0
    Using cached tomli-2.0.1-py3-none-any.whl (12 kB)
  Collecting packaging&gt;=20.0
    Using cached packaging-21.3-py3-none-any.whl (40 kB)
  Collecting setuptools
    Using cached setuptools-65.5.0-py3-none-any.whl (1.2 MB)
  Collecting typing-extensions
    Using cached typing_extensions-4.4.0-py3-none-any.whl (26 kB)
  Collecting pyparsing!=3.0.5,&gt;=2.0.2
    Using cached pyparsing-3.0.9-py3-none-any.whl (98 kB)
  Installing collected packages: typing-extensions, tomli, setuptools, pyparsing, numpy, certifi, packaging, setuptools_scm
  Successfully installed certifi-2022.9.24 numpy-1.23.4 packaging-21.3 pyparsing-3.0.9 setuptools-65.5.0 setuptools_scm-7.0.5 tomli-2.0.1 typing-extensions-4.4.0
  Installing build dependencies ... done
  Running command Checking if build backend supports build_editable
  Checking if build backend supports build_editable ... done
  Running command Getting requirements to build wheel
  /private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-build-env-yure_ojr/overlay/lib/python3.10/site-packages/setuptools/dist.py:286: SetuptoolsDeprecationWarning: The namespace_packages parameter is deprecated, consider using implicit namespaces instead (PEP 420).
    warnings.warn(msg, SetuptoolsDeprecationWarning)

  Edit mplsetup.cfg to change the build options; suppress output with --quiet.

  BUILDING MATPLOTLIB
        python: yes [3.10.6 | packaged by conda-forge | (main, Aug 22 2022,
                    20:41:22) [Clang 13.0.1 ]]
      platform: yes [darwin]
         tests: no  [skipping due to configuration]
        macosx: yes [installing]

  running egg_info
  writing lib/matplotlib.egg-info/PKG-INFO
  writing dependency_links to lib/matplotlib.egg-info/dependency_links.txt
  writing namespace_packages to lib/matplotlib.egg-info/namespace_packages.txt
  writing requirements to lib/matplotlib.egg-info/requires.txt
  writing top-level names to lib/matplotlib.egg-info/top_level.txt
  adding license file 'LICENSE/LICENSE'
  adding license file 'LICENSE/LICENSE_AMSFONTS'
  adding license file 'LICENSE/LICENSE_BAKOMA'
  adding license file 'LICENSE/LICENSE_CARLOGO'
  adding license file 'LICENSE/LICENSE_COLORBREWER'
  adding license file 'LICENSE/LICENSE_COURIERTEN'
  adding license file 'LICENSE/LICENSE_JSXTOOLS_RESIZE_OBSERVER'
  adding license file 'LICENSE/LICENSE_QT4_EDITOR'
  adding license file 'LICENSE/LICENSE_SOLARIZED'
  adding license file 'LICENSE/LICENSE_STIX'
  adding license file 'LICENSE/LICENSE_YORICK'
  writing manifest file 'lib/matplotlib.egg-info/SOURCES.txt'
  Getting requirements to build wheel ... done
  Running command pip subprocess to install backend dependencies
  Collecting wheel
    Using cached wheel-0.37.1-py2.py3-none-any.whl (35 kB)
  Installing collected packages: wheel
  Successfully installed wheel-0.37.1
  Installing backend dependencies ... done
  Running command Preparing metadata (pyproject.toml)
  /private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-build-env-yure_ojr/overlay/lib/python3.10/site-packages/setuptools/dist.py:286: SetuptoolsDeprecationWarning: The namespace_packages parameter is deprecated, consider using implicit namespaces instead (PEP 420).
    warnings.warn(msg, SetuptoolsDeprecationWarning)

  Edit mplsetup.cfg to change the build options; suppress output with --quiet.

  BUILDING MATPLOTLIB
        python: yes [3.10.6 | packaged by conda-forge | (main, Aug 22 2022,
                    20:41:22) [Clang 13.0.1 ]]
      platform: yes [darwin]
         tests: no  [skipping due to configuration]
        macosx: yes [installing]

  running dist_info
  creating /private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-modern-metadata-fj_hu2nd/matplotlib.egg-info
  writing /private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-modern-metadata-fj_hu2nd/matplotlib.egg-info/PKG-INFO
  writing dependency_links to /private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-modern-metadata-fj_hu2nd/matplotlib.egg-info/dependency_links.txt
  writing namespace_packages to /private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-modern-metadata-fj_hu2nd/matplotlib.egg-info/namespace_packages.txt
  writing requirements to /private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-modern-metadata-fj_hu2nd/matplotlib.egg-info/requires.txt
  writing top-level names to /private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-modern-metadata-fj_hu2nd/matplotlib.egg-info/top_level.txt
  writing manifest file '/private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-modern-metadata-fj_hu2nd/matplotlib.egg-info/SOURCES.txt'
  adding license file 'LICENSE/LICENSE'
  adding license file 'LICENSE/LICENSE_AMSFONTS'
  adding license file 'LICENSE/LICENSE_BAKOMA'
  adding license file 'LICENSE/LICENSE_CARLOGO'
  adding license file 'LICENSE/LICENSE_COLORBREWER'
  adding license file 'LICENSE/LICENSE_COURIERTEN'
  adding license file 'LICENSE/LICENSE_JSXTOOLS_RESIZE_OBSERVER'
  adding license file 'LICENSE/LICENSE_QT4_EDITOR'
  adding license file 'LICENSE/LICENSE_SOLARIZED'
  adding license file 'LICENSE/LICENSE_STIX'
  adding license file 'LICENSE/LICENSE_YORICK'
  writing manifest file '/private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-modern-metadata-fj_hu2nd/matplotlib.egg-info/SOURCES.txt'
  creating '/private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-modern-metadata-fj_hu2nd/matplotlib-0.1.0.dev44573+g1f9dc78.d20221014.dist-info'
  adding license file "LICENSE/LICENSE_CARLOGO" (matched pattern "LICENSE/*")
  adding license file "LICENSE/LICENSE" (matched pattern "LICENSE/*")
  adding license file "LICENSE/LICENSE_SOLARIZED" (matched pattern "LICENSE/*")
  adding license file "LICENSE/LICENSE_AMSFONTS" (matched pattern "LICENSE/*")
  adding license file "LICENSE/LICENSE_BAKOMA" (matched pattern "LICENSE/*")
  adding license file "LICENSE/LICENSE_QT4_EDITOR" (matched pattern "LICENSE/*")
  adding license file "LICENSE/LICENSE_STIX" (matched pattern "LICENSE/*")
  adding license file "LICENSE/LICENSE_JSXTOOLS_RESIZE_OBSERVER" (matched pattern "LICENSE/*")
  adding license file "LICENSE/LICENSE_YORICK" (matched pattern "LICENSE/*")
  adding license file "LICENSE/LICENSE_COLORBREWER" (matched pattern "LICENSE/*")
  adding license file "LICENSE/LICENSE_COURIERTEN" (matched pattern "LICENSE/*")
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: pillow&gt;=6.2.0 in /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages (from matplotlib==0.1.0.dev44573+g1f9dc78.d20221014) (9.2.0)
Requirement already satisfied: fonttools&gt;=4.22.0 in /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages (from matplotlib==0.1.0.dev44573+g1f9dc78.d20221014) (4.37.4)
Requirement already satisfied: setuptools-scm&gt;=7 in /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages (from matplotlib==0.1.0.dev44573+g1f9dc78.d20221014) (7.0.5)
Requirement already satisfied: cycler&gt;=0.10 in /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages (from matplotlib==0.1.0.dev44573+g1f9dc78.d20221014) (0.11.0)
Requirement already satisfied: python-dateutil&gt;=2.7 in /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages (from matplotlib==0.1.0.dev44573+g1f9dc78.d20221014) (2.8.2)
Requirement already satisfied: kiwisolver&gt;=1.0.1 in /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages (from matplotlib==0.1.0.dev44573+g1f9dc78.d20221014) (1.4.4)
Requirement already satisfied: contourpy&gt;=1.0.1 in /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages (from matplotlib==0.1.0.dev44573+g1f9dc78.d20221014) (1.0.5)
Requirement already satisfied: pyparsing&gt;=2.2.1 in /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages (from matplotlib==0.1.0.dev44573+g1f9dc78.d20221014) (3.0.9)
Requirement already satisfied: numpy&gt;=1.19 in /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages (from matplotlib==0.1.0.dev44573+g1f9dc78.d20221014) (1.23.3)
Requirement already satisfied: packaging&gt;=20.0 in /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages (from matplotlib==0.1.0.dev44573+g1f9dc78.d20221014) (21.3)
Requirement already satisfied: six&gt;=1.5 in /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages (from python-dateutil&gt;=2.7-&gt;matplotlib==0.1.0.dev44573+g1f9dc78.d20221014) (1.16.0)
Requirement already satisfied: setuptools in /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages (from setuptools-scm&gt;=7-&gt;matplotlib==0.1.0.dev44573+g1f9dc78.d20221014) (65.5.0)
Requirement already satisfied: tomli&gt;=1.0.0 in /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages (from setuptools-scm&gt;=7-&gt;matplotlib==0.1.0.dev44573+g1f9dc78.d20221014) (2.0.1)
Requirement already satisfied: typing-extensions in /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages (from setuptools-scm&gt;=7-&gt;matplotlib==0.1.0.dev44573+g1f9dc78.d20221014) (4.4.0)
Installing collected packages: matplotlib
  Attempting uninstall: matplotlib
    Found existing installation: matplotlib 3.6.1
    Uninstalling matplotlib-3.6.1:
      Removing file or directory /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages/__pycache__/pylab.cpython-310.pyc
      Removing file or directory /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages/matplotlib-3.6.1-py3.10-nspkg.pth
      Removing file or directory /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages/matplotlib-3.6.1.dist-info/
      Removing file or directory /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages/matplotlib/
      Removing file or directory /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages/mpl_toolkits/axes_grid1/
      Removing file or directory /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages/mpl_toolkits/axisartist/
      Removing file or directory /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages/mpl_toolkits/mplot3d/
      Removing file or directory /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages/mpl_toolkits/tests/
      Removing file or directory /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages/pylab.py
      Successfully uninstalled matplotlib-3.6.1
  Running setup.py develop for matplotlib
    Running command python setup.py develop
    /private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-build-env-yure_ojr/overlay/lib/python3.10/site-packages/setuptools/dist.py:286: SetuptoolsDeprecationWarning: The namespace_packages parameter is deprecated, consider using implicit namespaces instead (PEP 420).
      warnings.warn(msg, SetuptoolsDeprecationWarning)

    Edit mplsetup.cfg to change the build options; suppress output with --quiet.

    BUILDING MATPLOTLIB
          python: yes [3.10.6 | packaged by conda-forge | (main, Aug 22 2022,
                      20:41:22) [Clang 13.0.1 ]]
        platform: yes [darwin]
           tests: no  [skipping due to configuration]
          macosx: yes [installing]

    running develop
    /private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-build-env-yure_ojr/overlay/lib/python3.10/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
      warnings.warn(
    /private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-build-env-yure_ojr/overlay/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
      warnings.warn(
    running egg_info
    writing lib/matplotlib.egg-info/PKG-INFO
    writing dependency_links to lib/matplotlib.egg-info/dependency_links.txt
    writing namespace_packages to lib/matplotlib.egg-info/namespace_packages.txt
    writing requirements to lib/matplotlib.egg-info/requires.txt
    writing top-level names to lib/matplotlib.egg-info/top_level.txt
    adding license file 'LICENSE/LICENSE'
    adding license file 'LICENSE/LICENSE_AMSFONTS'
    adding license file 'LICENSE/LICENSE_BAKOMA'
    adding license file 'LICENSE/LICENSE_CARLOGO'
    adding license file 'LICENSE/LICENSE_COLORBREWER'
    adding license file 'LICENSE/LICENSE_COURIERTEN'
    adding license file 'LICENSE/LICENSE_JSXTOOLS_RESIZE_OBSERVER'
    adding license file 'LICENSE/LICENSE_QT4_EDITOR'
    adding license file 'LICENSE/LICENSE_SOLARIZED'
    adding license file 'LICENSE/LICENSE_STIX'
    adding license file 'LICENSE/LICENSE_YORICK'
    writing manifest file 'lib/matplotlib.egg-info/SOURCES.txt'
    running build_ext
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/include -arch arm64 -fPIC -O2 -isystem /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/include -arch arm64 -I/opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/include/python3.10 -c /var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/tmpw_eu7bd5.cpp -o var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/tmpw_eu7bd5.o -fvisibility=hidden
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/include -arch arm64 -fPIC -O2 -isystem /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/include -arch arm64 -I/opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/include/python3.10 -c /var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/tmpkkqo0md2.cpp -o var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/tmpkkqo0md2.o -fvisibility-inlines-hidden
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/include -arch arm64 -fPIC -O2 -isystem /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/include -arch arm64 -I/opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/include/python3.10 -c /var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/tmp2rkel642.cpp -o var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/tmp2rkel642.o -flto

    FreeType build system -- automatic system detection

    The following settings are used:

      platform                    unix
      compiler                    clang
      configuration directory     ./builds/unix
      configuration rules         ./builds/unix/unix.mk

    If this does not correspond to your system or settings please remove the file
    `config.mk' from this directory then read the INSTALL file for help.

    Otherwise, simply type `/Library/Developer/CommandLineTools/usr/bin/make' again to build the library,
    or `/Library/Developer/CommandLineTools/usr/bin/make refdoc' to build the API reference (this needs python &gt;= 2.6).

    cd builds/unix; \
                ./configure  '--with-zlib=no' '--with-bzip2=no' '--with-png=no' '--with-harfbuzz=no' '--enable-static' '--disable-shared' '--host=arm64-apple-darwin20.0.0'
    checking build system type... arm-apple-darwin21.5.0
    checking host system type... Invalid configuration `arm64-apple-darwin20.0.0': machine `arm64-apple' not recognized
    configure: error: /bin/sh ./config.sub arm64-apple-darwin20.0.0 failed
    make: *** [setup] Error 1
    Traceback (most recent call last):
      File "&lt;string&gt;", line 2, in &lt;module&gt;
      File "&lt;pip-setuptools-caller&gt;", line 34, in &lt;module&gt;
      File "/Users/tnie/code/py/matplotlib/setup.py", line 270, in &lt;module&gt;
        setup(  # Finally, pass this all along to setuptools to do the heavy lifting.
      File "/private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-build-env-yure_ojr/overlay/lib/python3.10/site-packages/setuptools/__init__.py", line 87, in setup
        return distutils.core.setup(**attrs)
      File "/private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-build-env-yure_ojr/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 185, in setup
        return run_commands(dist)
      File "/private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-build-env-yure_ojr/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
        dist.run_commands()
      File "/private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-build-env-yure_ojr/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 968, in run_commands
        self.run_command(cmd)
      File "/private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-build-env-yure_ojr/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 1217, in run_command
        super().run_command(command)
      File "/private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-build-env-yure_ojr/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
        cmd_obj.run()
      File "/private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-build-env-yure_ojr/overlay/lib/python3.10/site-packages/setuptools/command/develop.py", line 34, in run
        self.install_for_development()
      File "/private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-build-env-yure_ojr/overlay/lib/python3.10/site-packages/setuptools/command/develop.py", line 114, in install_for_development
        self.run_command('build_ext')
      File "/private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-build-env-yure_ojr/overlay/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 319, in run_command
        self.distribution.run_command(command)
      File "/private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-build-env-yure_ojr/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 1217, in run_command
        super().run_command(command)
      File "/private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-build-env-yure_ojr/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
        cmd_obj.run()
      File "/private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-build-env-yure_ojr/overlay/lib/python3.10/site-packages/setuptools/command/build_ext.py", line 84, in run
        _build_ext.run(self)
      File "/private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-build-env-yure_ojr/overlay/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 346, in run
        self.build_extensions()
      File "/Users/tnie/code/py/matplotlib/setup.py", line 183, in build_extensions
        package.do_custom_build(env)
      File "/Users/tnie/code/py/matplotlib/setupext.py", line 641, in do_custom_build
        subprocess.check_call(configure, env=env, cwd=src_path)
      File "/opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/subprocess.py", line 369, in check_call
        raise CalledProcessError(retcode, cmd)
    subprocess.CalledProcessError: Command '['./configure', '--with-zlib=no', '--with-bzip2=no', '--with-png=no', '--with-harfbuzz=no', '--enable-static', '--disable-shared', '--host=arm64-apple-darwin20.0.0']' returned non-zero exit status 2.
    Building freetype in build/freetype-2.6.1
    error: subprocess-exited-with-error

    × python setup.py develop did not run successfully.
    │ exit code: 1
    ╰─&gt; See above for output.

    note: This error originates from a subprocess, and is likely not a problem with pip.
    full command: /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/bin/python -c '
    exec(compile('"'"''"'"''"'"'
    # This is &lt;pip-setuptools-caller&gt; -- a caller that pip uses to run setup.py
    #
    # - It imports setuptools before invoking setup.py, to enable projects that directly
    #   import from `distutils.core` to work with newer packaging standards.
    # - It provides a clear error message when setuptools is not installed.
    # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so
    #   setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning:
    #     manifest_maker: standard file '"'"'-c'"'"' not found".
    # - It generates a shim setup.py, for handling setup.cfg-only projects.
    import os, sys, tokenize

    try:
        import setuptools
    except ImportError as error:
        print(
            "ERROR: Can not execute `setup.py` since setuptools is not available in "
            "the build environment.",
            file=sys.stderr,
        )
        sys.exit(1)

    __file__ = %r
    sys.argv[0] = __file__

    if os.path.exists(__file__):
        filename = __file__
        with tokenize.open(__file__) as f:
            setup_py_code = f.read()
    else:
        filename = "&lt;auto-generated setuptools caller&gt;"
        setup_py_code = "from setuptools import setup; setup()"

    exec(compile(setup_py_code, filename, "exec"))
    '"'"''"'"''"'"' % ('"'"'/Users/tnie/code/py/matplotlib/setup.py'"'"',), "&lt;pip-setuptools-caller&gt;", "exec"))' develop --no-deps
    cwd: /Users/tnie/code/py/matplotlib/
  Rolling back uninstall of matplotlib
  Moving to /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages/__pycache__/pylab.cpython-310.pyc
   from /private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-uninstall-4nkxktri/pylab.cpython-310.pyc
  Moving to /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages/matplotlib-3.6.1-py3.10-nspkg.pth
   from /private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-uninstall-wsgach0q/matplotlib-3.6.1-py3.10-nspkg.pth
  Moving to /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages/matplotlib-3.6.1.dist-info/
   from /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages/~atplotlib-3.6.1.dist-info
  Moving to /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages/matplotlib/
   from /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages/~atplotlib
  Moving to /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages/mpl_toolkits/axes_grid1/
   from /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages/mpl_toolkits/~xes_grid1
  Moving to /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages/mpl_toolkits/axisartist/
   from /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages/mpl_toolkits/~xisartist
  Moving to /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages/mpl_toolkits/mplot3d/
   from /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages/mpl_toolkits/~plot3d
  Moving to /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages/mpl_toolkits/tests/
   from /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages/mpl_toolkits/~ests
  Moving to /opt/homebrew/Caskroom/miniforge/base/envs/mpl-dev/lib/python3.10/site-packages/pylab.py
   from /private/var/folders/xy/7rx63bwx6c9_0n5d50q5j5xh0000gn/T/pip-uninstall-wsgach0q/pylab.py
error: subprocess-exited-with-error

× python setup.py develop did not run successfully.
│ exit code: 1
╰─&gt; See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
</code></pre></div>
<h3 dir="auto">Expected outcome</h3>
<p dir="auto">Matplotlib should build successfully.</p>
<h3 dir="auto">Additional information</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Operating system</h3>
<p dir="auto">macOS 12.4</p>
<h3 dir="auto">Matplotlib Version</h3>
<p dir="auto">trunk</p>
<h3 dir="auto">Matplotlib Backend</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Python version</h3>
<p dir="auto">Python 3.10.6</p>
<h3 dir="auto">Jupyter version</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Installation</h3>
<p dir="auto"><em>No response</em></p>