37,720
社区成员
发帖
与我相关
我的任务
分享
[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