Title: [Bug]: Cannot compile Matplotlib 3.7.1 on OS X 10.11 · Issue #25509 · matplotlib/matplotlib · GitHub
Open Graph Title: [Bug]: Cannot compile Matplotlib 3.7.1 on OS X 10.11 · Issue #25509 · matplotlib/matplotlib
X Title: [Bug]: Cannot compile Matplotlib 3.7.1 on OS X 10.11 · Issue #25509 · matplotlib/matplotlib
Description: Bug summary Hi, I'm unable to compile the wheel for Matplotlib 3.7.1 on OS X 10.11. The latest version of Matplotlib that works with OS X 10.11 is 3.5.3 (since it provides pre-built wheels). I'm not sure whether the latest version of Mat...
Open Graph Description: Bug summary Hi, I'm unable to compile the wheel for Matplotlib 3.7.1 on OS X 10.11. The latest version of Matplotlib that works with OS X 10.11 is 3.5.3 (since it provides pre-built wheels). I'm no...
X Description: Bug summary Hi, I'm unable to compile the wheel for Matplotlib 3.7.1 on OS X 10.11. The latest version of Matplotlib that works with OS X 10.11 is 3.5.3 (since it provides pre-built wheels). I&...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/25509
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug]: Cannot compile Matplotlib 3.7.1 on OS X 10.11","articleBody":"### Bug summary\r\n\r\nHi, I'm unable to compile the wheel for Matplotlib 3.7.1 on OS X 10.11.\r\nThe latest version of Matplotlib that works with OS X 10.11 is 3.5.3 (since it provides pre-built wheels).\r\nI'm not sure whether the latest version of Matplotlib support OS X 10.11 still, or are there any work-arounds?\r\n\r\n### Code for reproduction\r\n\r\n```python\r\npip3 install matplotlib\r\n```\r\n\r\n\r\n### Actual outcome\r\n```\r\n...skips a lot of copying...\r\n copying lib/matplotlib/mpl-data/images/move_large.png -\u003e build/lib.macosx-10.9-universal2-cpython-39/matplotlib/mpl-data/images\r\n running build_ext\r\n creating var\r\n creating var/folders\r\n creating var/folders/_n\r\n creating var/folders/_n/8qwtj23j0tx0bdy7ftvpg63m0000gn\r\n creating var/folders/_n/8qwtj23j0tx0bdy7ftvpg63m0000gn/T\r\n gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -I/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c /var/folders/_n/8qwtj23j0tx0bdy7ftvpg63m0000gn/T/tmpiydqbuj3.cpp -o var/folders/_n/8qwtj23j0tx0bdy7ftvpg63m0000gn/T/tmpiydqbuj3.o -fvisibility=hidden\r\n gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -I/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c /var/folders/_n/8qwtj23j0tx0bdy7ftvpg63m0000gn/T/tmpa3un9zpv.cpp -o var/folders/_n/8qwtj23j0tx0bdy7ftvpg63m0000gn/T/tmpa3un9zpv.o -fvisibility-inlines-hidden\r\n gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -I/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c /var/folders/_n/8qwtj23j0tx0bdy7ftvpg63m0000gn/T/tmpez3g7zr9.cpp -o var/folders/_n/8qwtj23j0tx0bdy7ftvpg63m0000gn/T/tmpez3g7zr9.o -flto\r\n \r\n FreeType build system -- automatic system detection\r\n \r\n The following settings are used:\r\n \r\n platform unix\r\n compiler gcc\r\n configuration directory ./builds/unix\r\n configuration rules ./builds/unix/unix.mk\r\n \r\n If this does not correspond to your system or settings please remove the file\r\n `config.mk' from this directory then read the INSTALL file for help.\r\n \r\n Otherwise, simply type `/Library/Developer/CommandLineTools/usr/bin/make' again to build the library,\r\n or `/Library/Developer/CommandLineTools/usr/bin/make refdoc' to build the API reference (this needs python \u003e= 2.6).\r\n \r\n Generating modules list in ./objs/ftmodule.h...\r\n * module: truetype (Windows/Mac font files with extension *.ttf or *.ttc)\r\n * module: type1 (Postscript font files with extension *.pfa or *.pfb)\r\n * module: cff (OpenType fonts with extension *.otf)\r\n * module: cid (Postscript CID-keyed fonts, no known extension)\r\n * module: pfr (PFR/TrueDoc font files with extension *.pfr)\r\n * module: type42 (Type 42 font files with no known extension)\r\n * module: winfnt (Windows bitmap fonts with extension *.fnt or *.fon)\r\n * module: pcf (pcf bitmap fonts)\r\n * module: bdf (bdf bitmap fonts)\r\n * module: sfnt (helper module for TrueType \u0026 OpenType formats)\r\n * module: autofit (automatic hinting module)\r\n * module: pshinter (Postscript hinter module)\r\n * module: raster (monochrome bitmap renderer)\r\n * module: smooth (anti-aliased bitmap renderer)\r\n * module: smooth (anti-aliased bitmap renderer for LCDs)\r\n * module: smooth (anti-aliased bitmap renderer for vertical LCDs)\r\n * module: psaux (Postscript Type 1 \u0026 Type 2 helper module)\r\n * module: psnames (Postscript \u0026 Unicode Glyph name handling)\r\n done.\r\n cd builds/unix; \\\r\n ./configure '--with-zlib=no' '--with-bzip2=no' '--with-png=no' '--with-harfbuzz=no' '--enable-static' '--disable-shared' '--host=x86_64-apple-darwin20.6.0'\r\n checking build system type... x86_64-apple-darwin15.6.0\r\n checking host system type... x86_64-apple-darwin20.6.0\r\n checking for x86_64-apple-darwin20.6.0-gcc... gcc\r\n checking whether the C compiler works... no\r\n configure: error: in `/private/var/folders/_n/8qwtj23j0tx0bdy7ftvpg63m0000gn/T/pip-install-gsgl2hnt/matplotlib_0c58bc77da5d4f6db3f53a8832b3638d/build/freetype-2.6.1/builds/unix':\r\n configure: error: C compiler cannot create executables\r\n See `config.log' for more details\r\n make: *** [setup] Error 77\r\n Extracting /project/freetype/freetype2/2.6.1/freetype-2.6.1.tar.gz\r\n Building freetype in build/freetype-2.6.1\r\n Traceback (most recent call last):\r\n File \"/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py\", line 353, in \u003cmodule\u003e\r\n main()\r\n File \"/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py\", line 335, in main\r\n json_out['return_val'] = hook(**hook_input['kwargs'])\r\n File \"/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py\", line 251, in build_wheel\r\n return _build_backend().build_wheel(wheel_directory, config_settings,\r\n File \"/private/var/folders/_n/8qwtj23j0tx0bdy7ftvpg63m0000gn/T/pip-build-env-kkb1c5cp/overlay/lib/python3.9/site-packages/setuptools/build_meta.py\", line 413, in build_wheel\r\n return self._build_with_temp_dir(['bdist_wheel'], '.whl',\r\n File \"/private/var/folders/_n/8qwtj23j0tx0bdy7ftvpg63m0000gn/T/pip-build-env-kkb1c5cp/overlay/lib/python3.9/site-packages/setuptools/build_meta.py\", line 398, in _build_with_temp_dir\r\n self.run_setup()\r\n File \"/private/var/folders/_n/8qwtj23j0tx0bdy7ftvpg63m0000gn/T/pip-build-env-kkb1c5cp/overlay/lib/python3.9/site-packages/setuptools/build_meta.py\", line 335, in run_setup\r\n exec(code, locals())\r\n File \"\u003cstring\u003e\", line 270, in \u003cmodule\u003e\r\n File \"/private/var/folders/_n/8qwtj23j0tx0bdy7ftvpg63m0000gn/T/pip-build-env-kkb1c5cp/overlay/lib/python3.9/site-packages/setuptools/__init__.py\", line 108, in setup\r\n return distutils.core.setup(**attrs)\r\n File \"/private/var/folders/_n/8qwtj23j0tx0bdy7ftvpg63m0000gn/T/pip-build-env-kkb1c5cp/overlay/lib/python3.9/site-packages/setuptools/_distutils/core.py\", line 185, in setup\r\n return run_commands(dist)\r\n File \"/private/var/folders/_n/8qwtj23j0tx0bdy7ftvpg63m0000gn/T/pip-build-env-kkb1c5cp/overlay/lib/python3.9/site-packages/setuptools/_distutils/core.py\", line 201, in run_commands\r\n dist.run_commands()\r\n File \"/private/var/folders/_n/8qwtj23j0tx0bdy7ftvpg63m0000gn/T/pip-build-env-kkb1c5cp/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py\", line 969, in run_commands\r\n self.run_command(cmd)\r\n File \"/private/var/folders/_n/8qwtj23j0tx0bdy7ftvpg63m0000gn/T/pip-build-env-kkb1c5cp/overlay/lib/python3.9/site-packages/setuptools/dist.py\", line 1221, in run_command\r\n super().run_command(command)\r\n File \"/private/var/folders/_n/8qwtj23j0tx0bdy7ftvpg63m0000gn/T/pip-build-env-kkb1c5cp/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py\", line 988, in run_command\r\n cmd_obj.run()\r\n File \"/private/var/folders/_n/8qwtj23j0tx0bdy7ftvpg63m0000gn/T/pip-build-env-kkb1c5cp/normal/lib/python3.9/site-packages/wheel/bdist_wheel.py\", line 343, in run\r\n self.run_command(\"build\")\r\n File \"/private/var/folders/_n/8qwtj23j0tx0bdy7ftvpg63m0000gn/T/pip-build-env-kkb1c5cp/overlay/lib/python3.9/site-packages/setuptools/_distutils/cmd.py\", line 318, in run_command\r\n self.distribution.run_command(command)\r\n File \"/private/var/folders/_n/8qwtj23j0tx0bdy7ftvpg63m0000gn/T/pip-build-env-kkb1c5cp/overlay/lib/python3.9/site-packages/setuptools/dist.py\", line 1221, in run_command\r\n super().run_command(command)\r\n File \"/private/var/folders/_n/8qwtj23j0tx0bdy7ftvpg63m0000gn/T/pip-build-env-kkb1c5cp/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py\", line 988, in run_command\r\n cmd_obj.run()\r\n File \"/private/var/folders/_n/8qwtj23j0tx0bdy7ftvpg63m0000gn/T/pip-build-env-kkb1c5cp/overlay/lib/python3.9/site-packages/setuptools/_distutils/command/build.py\", line 131, in run\r\n self.run_command(cmd_name)\r\n File \"/private/var/folders/_n/8qwtj23j0tx0bdy7ftvpg63m0000gn/T/pip-build-env-kkb1c5cp/overlay/lib/python3.9/site-packages/setuptools/_distutils/cmd.py\", line 318, in run_command\r\n self.distribution.run_command(command)\r\n File \"/private/var/folders/_n/8qwtj23j0tx0bdy7ftvpg63m0000gn/T/pip-build-env-kkb1c5cp/overlay/lib/python3.9/site-packages/setuptools/dist.py\", line 1221, in run_command\r\n super().run_command(command)\r\n File \"/private/var/folders/_n/8qwtj23j0tx0bdy7ftvpg63m0000gn/T/pip-build-env-kkb1c5cp/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py\", line 988, in run_command\r\n cmd_obj.run()\r\n File \"/private/var/folders/_n/8qwtj23j0tx0bdy7ftvpg63m0000gn/T/pip-build-env-kkb1c5cp/overlay/lib/python3.9/site-packages/setuptools/command/build_ext.py\", line 84, in run\r\n _build_ext.run(self)\r\n File \"/private/var/folders/_n/8qwtj23j0tx0bdy7ftvpg63m0000gn/T/pip-build-env-kkb1c5cp/overlay/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py\", line 345, in run\r\n self.build_extensions()\r\n File \"\u003cstring\u003e\", line 183, in build_extensions\r\n File \"/private/var/folders/_n/8qwtj23j0tx0bdy7ftvpg63m0000gn/T/pip-install-gsgl2hnt/matplotlib_0c58bc77da5d4f6db3f53a8832b3638d/setupext.py\", line 654, in do_custom_build\r\n subprocess.check_call(configure, env=env, cwd=src_path)\r\n File \"/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py\", line 373, in check_call\r\n raise CalledProcessError(retcode, cmd)\r\n subprocess.CalledProcessError: Command '['./configure', '--with-zlib=no', '--with-bzip2=no', '--with-png=no', '--with-harfbuzz=no', '--enable-static', '--disable-shared', '--host=x86_64-apple-darwin20.6.0']' returned non-zero exit status 2.\r\n [end of output]\r\n \r\n note: This error originates from a subprocess, and is likely not a problem with pip.\r\n ERROR: Failed building wheel for matplotlib\r\nFailed to build matplotlib\r\nERROR: Could not build wheels for matplotlib, which is required to install pyproject.toml-based projects\r\n```\r\n### Expected outcome\r\n\r\nCompiled successfully\r\n\r\n### Additional information\r\n\r\nNone\r\n\r\n### Operating system\r\n\r\nOS X 10.11\r\n\r\n### Matplotlib Version\r\n\r\n3.7.1\r\n\r\n### Matplotlib Backend\r\n\r\nN/A\r\n\r\n### Python version\r\n\r\n3.9.13\r\n\r\n### Jupyter version\r\n\r\nN/A\r\n\r\n### Installation\r\n\r\npip","author":{"url":"https://github.com/BLKSerene","@type":"Person","name":"BLKSerene"},"datePublished":"2023-03-20T01:34:50.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/25509/matplotlib/issues/25509"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:8895da43-3073-09d8-2177-2545585b473e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9A9A:3E220D:1986037:2531B4C:6A563E51 |
| html-safe-nonce | 192f379aff83e0432eacb25ecf04f5b9e668d74fce3249b031f46de0929762f3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QTlBOjNFMjIwRDoxOTg2MDM3OjI1MzFCNEM6NkE1NjNFNTEiLCJ2aXNpdG9yX2lkIjoiODg2NzAyNjM0NTkxNTcyNzQ0MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 22fe411e484c137965257120d85146572612174f3f8a382bdcbf05ef400aa16e |
| hovercard-subject-tag | issue:1631228176 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/matplotlib/matplotlib/25509/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fbd5296a69dc5e58b3d2b300f91a7fe04d75d25ff2495cbdacc9a1cfe3cb1fd3/matplotlib/matplotlib/issues/25509 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fbd5296a69dc5e58b3d2b300f91a7fe04d75d25ff2495cbdacc9a1cfe3cb1fd3/matplotlib/matplotlib/issues/25509 |
| og:image:alt | Bug summary Hi, I'm unable to compile the wheel for Matplotlib 3.7.1 on OS X 10.11. The latest version of Matplotlib that works with OS X 10.11 is 3.5.3 (since it provides pre-built wheels). I'm no... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | BLKSerene |
| hostname | github.com |
| expected-hostname | github.com |
| None | 96d96c6ad1e3234907759a5e634942d2ca0aded8a6ec1693a59d0f2c59c0dac9 |
| turbo-cache-control | no-preview |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ec50befe6b611eee09bfe878347d87b8d5d2443f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width