# Abipy run error

**URL:** <https://discourse.abinit.org/t/abipy-run-error/3636>\
**Category:** Python interfacing : Abipy ecosystem\
**Tags:** compilation\
**Created:** [December 13, 2024, 5:42pm UTC](https://discourse.abinit.org/t/abipy-run-error/3636 "2024-12-13T17:42:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dom\_7](https://discourse.abinit.org/letter_avatar_proxy/v4/letter/d/7bcc69/32.png) [@Dom\_7](https://discourse.abinit.org/u/Dom_7)\
**Post date:** [December 13, 2024, 5:42pm UTC](https://discourse.abinit.org/t/abipy-run-error/3636/1 "2024-12-13T17:42:09Z")

</div>

Dear developers,

I wanted to plot some phonon dispersions for my structure. I was running the code for that from the Abipy gallery for plotting phonon spectrum. Then I was getting the error

AttributeError: module ‘pymatgen.io.abinit.netcdf’ has no attribute ETSF\_Reader’

How do we resolve this issue?

Thanks  
Dominic

---

<div class="post-metadata">

**Author:** ![mverstra](https://discourse.abinit.org/user_avatar/discourse.abinit.org/mverstra/32/92_2.png) [@mverstra](https://discourse.abinit.org/u/mverstra)\
**Post date:** [December 18, 2024, 6:00pm UTC](https://discourse.abinit.org/t/abipy-run-error/3636/2 "2024-12-18T18:00:48Z")

</div>

Hello Dominic,

I think this is a version compatibility issue with pymatgen. It used to be necessary to downgrade the pymatgen to be functional with abipy, but the latest versions should be clean and compatible. Could you give more information about your versions of abinit (for forum), abipy, pymatgen etc? Also include platform and other details

---

<div class="post-metadata">

**Author:** ![Dom\_7](https://discourse.abinit.org/letter_avatar_proxy/v4/letter/d/7bcc69/32.png) [@Dom\_7](https://discourse.abinit.org/u/Dom_7)\
**Post date:** [December 18, 2024, 8:15pm UTC](https://discourse.abinit.org/t/abipy-run-error/3636/3 "2024-12-18T20:15:06Z")

</div>

I was using the abinit-9.10.1, abipy version-0.9.6 and pymatgen version-2024.11.13. I was running in a ubuntu platform.

Thanks  
Dominic
