Closed thomaslettau closed 3 years ago
Old versions of abipy (version <= 0.9) are not compatible with recent versions of pymatgen due to a refactoring of the imports that broke backward compatibility.
I suggest to update your version of abipy to 0.9 with
pip install abipy -U
Alternatively, you may want to install abipy from the conda-force channel. with:
conda install abipy -c conda-force
In this case, I would also suggest to install everything in a fresh enviroment.
Thanks alot!
If I try to execute
I get the following error:
It can be fixed be replacing
pymatgen.Structure
withpymatgen.core.Structure
inabipy/core/structure.py
andfrom pymatgen import SETTINGS
withfrom pymatgen import SETTINGS
inabipy/core/restapi.py