Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pandas to_hdf causing crash on Macs #48

Open
billetd opened this issue Jul 16, 2024 · 2 comments
Open

Pandas to_hdf causing crash on Macs #48

billetd opened this issue Jul 16, 2024 · 2 comments

Comments

@billetd
Copy link
Contributor

billetd commented Jul 16, 2024

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
@klaundal
Copy link
Owner

Good that you got it to work! I haven't heard about this before, but I have intel cpu...

@FasilGibdaw did you have similar issues with your mac?

@FasilGibdaw
Copy link
Contributor

yes, I had this problem, however, updating pytables was my fix, the version in my system(M3 Max) is 3.9.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants