# H5py error: Resolution

**URL:** <https://community.deeplearning.ai/t/h5py-error-resolution/632593>\
**Category:** Introduction to On-Device AI\
**Created:** [May 22, 2024, 11:56am UTC](https://community.deeplearning.ai/t/h5py-error-resolution/632593 "2024-05-22T11:56:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Martin\_Pollard](https://avatars.discourse-cdn.com/v4/letter/m/aca169/32.png) [@Martin\_Pollard](https://community.deeplearning.ai/u/Martin_Pollard)\
**Post date:** [May 22, 2024, 11:56am UTC](https://community.deeplearning.ai/t/h5py-error-resolution/632593/1 "2024-05-22T11:56:37Z")

</div>

Hi all,

Quick tip: if you come across this error:

`ImportError: cannot import name '_errors' from partially initialized module 'h5py' (most likely due to a circular import)`

Uninstalling and reinstalling the h5py package seems to do the trick!
