It looks like it is because the version of phonopy that you are using (version 1.10.0) doesn't work with python 3.5. As Togo described at

You need to use the newer version 1.10.5 of phonopy with python 3.5, which you should able to download at:

On 3/29/2016 4:14 AM, Rajneesh Chaurasiya wrote:
Dear Gavin,

I think, I installed the Phonopy successfully and set the Path correctly. but when i give the command

[ambeshst@IITJ_HPC tests]$ phonopy --wien2k -c NaCl.struct -d --dim="2 2 2"

It showing the syntax error

raceback (most recent call last):
File "/home/IITJHOME/ambeshst/win2k13mpi/python35/bin/phonopy", line 496, in <module> from phonopy.interface.wien2k import write_supercells_with_displacements File "/home/IITJHOME/ambeshst/win2k13mpi/python35/lib/python3.5/site-packages/phonopy/interface/", line 65
    print "%s contains only forces of %d atoms" % (
SyntaxError: invalid syntax

Please give me your ideas why it is showing this error.
Wien mailing list

Reply via email to