Title: [Bug]: Unable to install matplotlib (editable mode) in Github Codespace · Issue #29852 · matplotlib/matplotlib · GitHub
Open Graph Title: [Bug]: Unable to install matplotlib (editable mode) in Github Codespace · Issue #29852 · matplotlib/matplotlib
X Title: [Bug]: Unable to install matplotlib (editable mode) in Github Codespace · Issue #29852 · matplotlib/matplotlib
Description: Bug summary Running the instructions to install Matplotlib in editable mode and verify installation while in Github Codespace leads to an error: ImportError: /workspaces/matplotlib/build/cp312/src/_path.cpython-312-x86_[64-linux-gnu.so](...
Open Graph Description: Bug summary Running the instructions to install Matplotlib in editable mode and verify installation while in Github Codespace leads to an error: ImportError: /workspaces/matplotlib/build/cp312/src/...
X Description: Bug summary Running the instructions to install Matplotlib in editable mode and verify installation while in Github Codespace leads to an error: ImportError: /workspaces/matplotlib/build/cp312/src/...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/29852
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug]: Unable to install matplotlib (editable mode) in Github Codespace","articleBody":"### Bug summary\n\nRunning the [instructions](https://matplotlib.org/devdocs/devel/development_setup.html#install-matplotlib-in-editable-mode) to install Matplotlib in editable mode and verify installation while in Github Codespace leads to an error: \n`ImportError: /workspaces/matplotlib/build/cp312/src/_path.cpython-312-x86_[64-linux-gnu.so](http://64-linux-gnu.so/): undefined symbol: _ZN3agg10curve3_div4initEdddddd`\n\n### Code for reproduction\n\n```Python\npython -m pip install --no-build-isolation --config-settings=editable-verbose=true --editable .\n```\n\n### Actual outcome\n\n```\n(mpl-dev) @thedatacurious ➜ /workspaces/matplotlib (doc-branch) $ pip install --no-build-isolation --config-settings=editable-verbose=true --editable .\nObtaining file:///workspaces/matplotlib\n Checking if build backend supports build_editable ... done\n Preparing editable metadata (pyproject.toml) ... done\nRequirement already satisfied: contourpy\u003e=1.0.1 in /home/codespace/.local/lib/python3.12/site-packages (from matplotlib==0.1.0.dev52213+g5d722a9) (1.3.1)\nRequirement already satisfied: cycler\u003e=0.10 in /home/codespace/.local/lib/python3.12/site-packages (from matplotlib==0.1.0.dev52213+g5d722a9) (0.12.1)\nRequirement already satisfied: fonttools\u003e=4.22.0 in /home/codespace/.local/lib/python3.12/site-packages (from matplotlib==0.1.0.dev52213+g5d722a9) (4.55.3)\nRequirement already satisfied: kiwisolver\u003e=1.3.1 in /home/codespace/.local/lib/python3.12/site-packages (from matplotlib==0.1.0.dev52213+g5d722a9) (1.4.7)\nRequirement already satisfied: numpy\u003e=1.23 in /home/codespace/.local/lib/python3.12/site-packages (from matplotlib==0.1.0.dev52213+g5d722a9) (2.2.0)\nRequirement already satisfied: packaging\u003e=20.0 in /home/codespace/.local/lib/python3.12/site-packages (from matplotlib==0.1.0.dev52213+g5d722a9) (24.2)\nRequirement already satisfied: pillow\u003e=9 in /home/codespace/.local/lib/python3.12/site-packages (from matplotlib==0.1.0.dev52213+g5d722a9) (11.0.0)\nRequirement already satisfied: pyparsing\u003e=2.3.1 in /home/codespace/.local/lib/python3.12/site-packages (from matplotlib==0.1.0.dev52213+g5d722a9) (3.2.0)\nRequirement already satisfied: python-dateutil\u003e=2.7 in /home/codespace/.local/lib/python3.12/site-packages (from matplotlib==0.1.0.dev52213+g5d722a9) (2.9.0.post0)\nRequirement already satisfied: six\u003e=1.5 in /home/codespace/.local/lib/python3.12/site-packages (from python-dateutil\u003e=2.7-\u003ematplotlib==0.1.0.dev52213+g5d722a9) (1.17.0)\nBuilding wheels for collected packages: matplotlib\n Building editable for matplotlib (pyproject.toml) ... done\n Created wheel for matplotlib: filename=matplotlib-0.1.0.dev52213+g5d722a9-cp312-cp312-linux_x86_64.whl size=10310 sha256=7ac60e5ad72b00ceaf9fc1f3dbc55e5979f22ecff0a418b2e2cc1d718ff878fc\n Stored in directory: /tmp/pip-ephem-wheel-cache-8w0d3c06/wheels/12/a2/a8/efadc28c14fa1750547f26b6cb4f3e357cd1fa0797dc7e1949\nSuccessfully built matplotlib\nInstalling collected packages: matplotlib\n Attempting uninstall: matplotlib\n Found existing installation: matplotlib 0.1.0.dev52212+g8eb6289\n Uninstalling matplotlib-0.1.0.dev52212+g8eb6289:\n Successfully uninstalled matplotlib-0.1.0.dev52212+g8eb6289\nERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.\nseaborn 0.13.2 requires matplotlib!=3.6.1,\u003e=3.4, but you have matplotlib 0.1.0.dev52213+g5d722a9 which is incompatible.\nSuccessfully installed matplotlib-0.1.0.dev52213+g5d722a9\n(mpl-dev) @thedatacurious ➜ /workspaces/matplotlib (doc-branch) $ python -c \"import matplotlib; print(matplotlib.__file__)\"\nTraceback (most recent call last):\n File \"\u003cstring\u003e\", line 1, in \u003cmodule\u003e\n File \"/workspaces/matplotlib/lib/matplotlib/__init__.py\", line 161, in \u003cmodule\u003e\n from . import _api, _version, cbook, _docstring, rcsetup\n File \"/workspaces/matplotlib/lib/matplotlib/rcsetup.py\", line 28, in \u003cmodule\u003e\n from matplotlib.colors import Colormap, is_color_like\n File \"/workspaces/matplotlib/lib/matplotlib/colors.py\", line 57, in \u003cmodule\u003e\n from matplotlib import _api, _cm, cbook, scale, _image\n File \"/workspaces/matplotlib/lib/matplotlib/scale.py\", line 39, in \u003cmodule\u003e\n from matplotlib.ticker import (\n File \"/workspaces/matplotlib/lib/matplotlib/ticker.py\", line 144, in \u003cmodule\u003e\n from matplotlib import transforms as mtransforms\n File \"/workspaces/matplotlib/lib/matplotlib/transforms.py\", line 49, in \u003cmodule\u003e\n from matplotlib._path import affine_transform, count_bboxes_overlapping_bbox\nImportError: /workspaces/matplotlib/build/cp312/src/_path.cpython-312-x86_64-linux-gnu.so: undefined symbol: _ZN3agg10curve3_div4initEdddddd\n```\n\n### Expected outcome\n\n`python -c \"import matplotlib; print(matplotlib.__file__)\" ` \nshould return : \n`\u003cmatplotlib_local_repo\u003e\\lib\\matplotlib\\__init__.py`\n\n### Additional information\n\n@story645 is able to replicate the issue\n\n### Operating system\n\n_No response_\n\n### Matplotlib Version\n\nUnable to get version, running the prompt returns the same Import Error message\n\n### Matplotlib Backend\n\n_No response_\n\n### Python version\n\n_No response_\n\n### Jupyter version\n\n_No response_\n\n### Installation\n\npip","author":{"url":"https://github.com/thedatacurious","@type":"Person","name":"thedatacurious"},"datePublished":"2025-04-01T18:23:59.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/29852/matplotlib/issues/29852"}
| 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:17aeb0ee-c446-8222-34cf-2af1c2e3ac75 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A6F8:349CCC:12E3F15:19C45E5:6A5216DF |
| html-safe-nonce | dd5d3ec95462a89c1a553d4b6dd56025b13399af9797396cb6a385c5f715eb7d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNkY4OjM0OUNDQzoxMkUzRjE1OjE5QzQ1RTU6NkE1MjE2REYiLCJ2aXNpdG9yX2lkIjoiOTIwNjcyMzg2MDYzNTk4MTUzNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 76bf197a280ad64b4cad98294169516d49fed12ad0e8571bd26cf66b3ba632c2 |
| hovercard-subject-tag | issue:2964249622 |
| 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/29852/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0b57829dd83292011023096c73fe991e90e6611dfa14982be5fc6c5ff6a115c0/matplotlib/matplotlib/issues/29852 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0b57829dd83292011023096c73fe991e90e6611dfa14982be5fc6c5ff6a115c0/matplotlib/matplotlib/issues/29852 |
| og:image:alt | Bug summary Running the instructions to install Matplotlib in editable mode and verify installation while in Github Codespace leads to an error: ImportError: /workspaces/matplotlib/build/cp312/src/... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | thedatacurious |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width