Skip to content

wxversion #2891

@christianbrodbeck

Description

@christianbrodbeck

The Matplotlib import fails if wxversion is not installed, even though wxPython does not seem to come with wxversion by default (at least not 3.0 on OS X) and I can't find a straight forward way to install wxversion (neither wxpython.org nor pypi). As far as I can see all wxversion is needed for is wxversion.ensureMinimal(str('2.8')) (

wxversion.ensureMinimal(str('2.8'))
and
wxversion.ensureMinimal('2.8')
). Wouldn't it be possible to fall back on wx.__version__ in case wxversion is missing? If so I could make a corresponding PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions