Skip to content

INFO: Please pin your numpy < 2 if installing pandas via pip #55519

Closed
@lithomas1

Description

@lithomas1

numpy 2.0 is the next major release of numpy (scheduled to come out sometime in December), and as such contains several breaking API changes.

Because of this, as of right now, there is NO released pandas version compatible with numpy 2.0.

We are currently aiming to be compatible with the release of pandas 2.2 (the next minor version) for pandas, however this is not guaranteed (we are still working through a couple of issues).

So, to avoid issues when installing pandas with pip, you should pin numpy < 2.

Note: This does not affect conda users, as conda has a special mechanism to retroactively pin numpy on older released pandas versions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CommunityCommunity topics (meetings, etc.)

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions