import pandas : ImportError: cannot import name Counter in python 2.6.6

import pandas : ImportError: cannot import name Counter in python 2.6.6

我正在使用 python 2.6.6

我安装pandas如下

pip install pandas

我也收到以下成功消息

Building wheels for collected packages: pandas
  Running setup.py bdist_wheel for pandas ... done
  Stored in directory: /root/.cache/pip/wheels/81/18/d5/9f087d2b2763f0573195c75f297cac96125d02dbb5aef2297b
Successfully built pandas
Installing collected packages: six, python-dateutil, pytz, pandas
Successfully installed pandas-0.19.1 python-dateutil-2.6.0 pytz-2016.10 six-1.10.0

但是现在导入它的时候

import pandas as pd

它给我以下错误

>>> import pandas as pd
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/python2.6/site-packages/pandas/__init__.py", line 22, in <module>
    from pandas.compat.numpy import *
  File "/usr/lib64/python2.6/site-packages/pandas/compat/__init__.py", line 333, in <module>
    from collections import OrderedDict, Counter
ImportError: cannot import name Counter

这里缺少什么?

编辑: 我安装了 backport_collections 0.1 并再次尝试。它仍然给出错误

pandas 库使用在 Python 2.7 中引入的 collections.Counter 对象; 2.6 中没有可导入的内容。

我认为最简单的解决方法是升级到 Python 2.7

尝试从这个包

安装 Pandas

https://pypi.python.org/pypi/pandas/0.16.2/