I have just installed python and installed linter. However when I attempt to run gjslint on a small javascript module, I get a crash dump.
D:\****\Documents\Engage\www\js>gjslint cache.js
Traceback (most recent call last):
File "D:\Python 33\Scripts\gjslint-script.py", line 9, in <module>
load_entry_point('closure-linter==2.3.11', 'console_scripts', 'gjslint')()
File "D:\Python 33\lib\site-packages\setuptools-1.1.1-py3.3.egg\pkg_resources.py", line 357, in load_entry_point
File "D:\Python 33\lib\site-packages\setuptools-1.1.1-py3.3.egg\pkg_resources.py", line 2394, in load_entry_point
File "D:\Python 33\lib\site-packages\setuptools-1.1.1-py3.3.egg\pkg_resources.py", line 2108, in load
File "<frozen importlib._bootstrap>", line 1567, in _find_and_load
File "<frozen importlib._bootstrap>", line 1534, in _find_and_load_unlocked
File "D:\Python 33\lib\site-packages\closure_linter-2.3.11-py3.3.egg\closure_linter\gjslint.py", line 168
print '%s: %d' % (path, len(path_errors))
^
SyntaxError: invalid syntax
Does anybody have any idea on the probable cause?. I am using the 64 bit version with Python configured to run on the D: drive. Is there some module I'm missing as I've no experience of running Python and don't know where to start to investigate. The trace stack hints that there may be a configuration error somewhere.