Search code examples
pythonpymatgen

While doing "from pymatgen.core.io.cif import CifParser" in PYMATGEN i got this error


error details

I was trying to convert cif file into Pwscf file for Quantum Espresso.


Solution

  • Change that line to from pymatgen.io.cif import CifParser and it should work fine.