Closed ghost closed 9 years ago
Python version? Spock only supports Python2.7+ and I have a feeling CentOS is on 2.6
Ya, it's a dictionary comprehension issue, a feature that was introduced in 2.7: https://www.python.org/dev/peps/pep-0274/
I won't close until its confirmed but I'm 95% this is an unsupported Python version
I see. I've just checked my Python version and it is 2.6.6. Sorry for bothering you in that case. I'll try to update my Python.
import sys print (sys.version) 2.6.6 (r266:84292, Jan 22 2014, 09:42:36) [GCC 4.4.7 20120313 (Red Hat 4.4.7-4)]
Just tried this on a CentOS VPS with Python 2.7.7 and it worked beautifully. Thank you for all your work.
CentOS 6.5
CPU Model: Intel(R) Xeon(R) CPU E3-1230 V2 @ 3.30GHz
(None of the files were modified.)