1

I am completely newbie to Python and just trying to install Dynamic-DynamoDB python package on RHEL5 Linux for very first time. I didn't have pip on my system so I followed instructions as in asnwer to What is the official "preferred" way to install pip and virtualenv systemwide?

Now when I try to install dynamic-dynamoDB as mentioned in installing instructions, it gives me error.

pip install dynamic-dynamodb

Error

Traceback (most recent call last):
  File "/usr/bin//pip", line 8, in ?
    sys.exit(
  File "/usr/lib/python2.4/site-packages/distribute-0.6.49-py2.4.egg/pkg_resources.py", line 345, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.4/site-packages/distribute-0.6.49-py2.4.egg/pkg_resources.py", line 2381, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.4/site-packages/distribute-0.6.49-py2.4.egg/pkg_resources.py", line 2087, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/usr/lib/python2.4/site-packages/pip/__init__.py", line 11, in ?
    from pip.vcs import git, mercurial, subversion, bazaar  # noqa
  File "/usr/lib/python2.4/site-packages/pip/vcs/mercurial.py", line 9, in ?
    from pip.download import path_to_url2
  File "/usr/lib/python2.4/site-packages/pip/download.py", line 3, in ?
    import hashlib
ImportError: No module named hashlib

Any suggestions on what am I missing here?

Community
  • 1
  • 1
RandomQuestion
  • 6,176
  • 16
  • 52
  • 91

1 Answers1

0

I'm the author of Dynamic-DynamoDB. Sorry for a late answer, I wanted to answer anyway in case anyone else has the same problem later on.

The reason is that the Python version is too old. Dynamic DynamoDB supports Python >2.6.

Sebastian Dahlgren
  • 915
  • 1
  • 10
  • 20