Try to disable pymatgen dependency.