Skip to content

Pandas to_hdf causing crash on Macs #48

Description

@billetd

Found this when trying to use the AMPERE pre-processing script read_iridium(). It was constantly running into a client crash (python quit unexpectedly) whilst trying to save the AMPERE dataframe to a HDF5 file on line 747. The problem isn't just here though, it's when trying to save any dataframe to a HDF5 (even a very simple one), so it's not a Lompe problem.

This seems like an issue with pytables on Macs, possible related to the M1+ CPU architecture (my speculation, I actually have no idea). Anyway, I managed to fix the crash and get the to_hdf5() method to work everywhere by downgrading pytables to version 3.8:

pip uninstall tables
pip install tables==3.8.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions