Skip to content

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

@WeatherGod

Description

@WeatherGod

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions