Description
[root@ggg-1 ~]# pip install --upgrade HappyBase
DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6
Requirement already up-to-date: HappyBase in /usr/lib/python2.6/site-packages
Requirement already up-to-date: thriftpy>=0.3.8 in /usr/lib/python2.6/site-packages (from HappyBase)
Requirement already up-to-date: six in /usr/lib/python2.6/site-packages (from HappyBase)
Requirement already up-to-date: ply<4.0,>=3.4 in /usr/lib/python2.6/site-packages (from thriftpy>=0.3.8->HappyBase)
[root@ggg-1 ~]# python
Python 2.6.6 (r266:84292, Aug 18 2016, 15:13:37)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-17)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import happybase
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib/python2.6/site-packages/happybase/init.py", line 14, in
from .connection import DEFAULT_HOST, DEFAULT_PORT, Connection # noqa
File "/usr/lib/python2.6/site-packages/happybase/connection.py", line 16, in
from .table import Table
File "/usr/lib/python2.6/site-packages/happybase/table.py", line 25
for name, cell in iteritems(cell_map)
^
SyntaxError: invalid syntax[root@ggg-1 ~]# uname -a
Linux ggg-1.gce.com 2.6.32-642.3.1.el6.x86_64 #1 SMP Tue Jul 12 18:30:56 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
[root@ggg-1 ~]#
[root@ggg-1 ~]# python --version
Python 2.6.6