No module named 'pymatgen.symmetry.kpath'

I am trying to find the k-path of Al2O3. However when I try using the k-path function it returns the message No module named ‘pymatgen.symmetry.kpath’

How do I resolve this issue


I don’t have any issues importing it. What’s your code? Did you verify that you can import pymatgen?


Thanks a lot for your help, it was a basic syntax error.I had also forgotten to update a few system libraries.