FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[Doc]: Setting up development environment guide doesn't work for Ubuntu 24.04 LTS · Issue #30961 · matplotlib/matplotlib · GitHub

Repository navigation

[Doc]: Setting up development environment guide doesn't work for Ubuntu 24.04 LTS #30961

Closed as duplicate

Description

Documentation Link

https://matplotlib.org/devdocs/devel/development_setup.html

Problem

If I follow these instructions for setting up a clean mpl-dev conda environment on Ubuntu 24.04 LTS, the editable install fails to import with an error similar to the one reported in #28357. Adding --config-settings=setup-args="-Db_lto=false" to the pip install command worked for me. The question is, should we add documentation about using setting (that I still have no clue what it did), as a troubleshooting step, or would it make more sense to have the meson code somehow detect the correct setting for LTO and avoid the problem all together?

Suggested improvement

No response

Activity

  1. QuLogic commented on Jan 14, 2026

    Member

    See #29852 (comment) I don't know why conda-forge sets the non-standard GCC_AR instead of AR, but quite frankly, I don't use conda and which of the several compiler-related feedstocks to report it to is just too confusing to figure out.

  2. melissawm commented on Jan 14, 2026

    Member

    I had the same issue on Manjaro. This may need a note in the dev docs?

  3. QuLogic commented on Jan 16, 2026

    Member

    There are three options, in increasing order of difficulty, but also in increasing order of desirability:

    1. Add a note somewhere in the docs about this.
    2. Revert the change to install compilers from conda-forge and instead depend on system compilers once again.
    3. Figure out how / where to report to get conda-forge compilers to set AR correctly instead of a non-standard environment variable, or convince Meson devs they should use the non-standard variable.
  4. rcomer commented on Oct 5, 2026

    Member

    This appears to have been fixed somewhere #29852 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL