Abipy run error

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

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

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