File "./redis-monitor.py", line 141
c-s-t-z opened this issue · comments
I am getting SyntaxError: invalid syntax when run on ubuntu with this command redis-monitor.py --duration=120
The specific exception information is as follows
File "./redis-monitor.py", line 141
except Exception, e:
^
SyntaxError: invalid syntax
The specific exception information is as follows
How to solve it
redislive use python 2.x
File "./redis-monitor.py", line 141
except Exception, e:
^
SyntaxError: invalid syntax
the same problem, using python 3.6.7
File "./redis-monitor.py", line 141
except Exception, e:
^
SyntaxError: invalid syntax
the same problem, using python 3.6.7
solved by changing the python version to 2.7