Python Lifetimes Module Error
Question: I was trying to load the Lifetimes Module on my Linux AMI server. I installed
it just fine and everything seemed to work with no error.

However when I went to use it I got the error below. (tried to do a few things
that I thought would fix it but nothing has worked)

    
    
    import lifetimes
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      File "lifetimes/__init__.py", line 1, in <module>
        from .estimation import BetaGeoFitter, ParetoNBDFitter, GammaGammaFitter
      File "lifetimes/estimation.py", line 2, in <module>
        from collections import OrderedDict
    ImportError: cannot import name OrderedDict
    


Answer: <http://linuxconfig.org/how-to-change-from-default-to-alternative-python-
version-on-debian-linux>

This is what worked for me but I did have to re-install the modules that were
on 2.6 into 2.7

