打python redis module的时候报错
本帖最后由 lzcwxc1986 于 2013-08-01 15:44:58 编辑 打python redis module的时候
[root@zichenglu redis-2.7.6]# python setup.py install
Traceback (most recent call last):
File "setup.py", line 5, in ?
from redis import __version__
File "/root/install/redis-2.7.6/redis/__init__.py", line 1, in ?
from redis.client import Redis, StrictRedis
File "/root/install/redis-2.7.6/redis/client.py", line 170
response = [nativestr(i) if i is not None else None for i in response]
^
SyntaxError: invalid syntax
[root@zichenglu redis-2.7.6]# python -V
Python 2.4.3