Dimer_test$ python imagefreq.py
imagefreq.py:26: Warning: 'with' will become a reserved keyword in Python 2.6
File "imagefreq.py", line 26
with open(file_name, 'w') as output_file:
^
SyntaxError: invalid syntax
您好,我在使用您的imagefreq.py时出现以上错误,是因为python版本原因吗?我的python版本是Python 2.5.2。
感谢,请问使用 imagefreq.py的时候出现这种是什么原因,该怎么解决?
Traceback (most recent call last):
File "./imagefreq.py", line 4, in <module>
from VASP import read_total_atoms
ImportError: No module named VASP