Ask Your Question
1

md5 module not found

asked 2012-04-16 09:20:31 +0100

Bakerbakura gravatar image

Hi there. When I try to start up SAGE by typing './sage', I get the following response:


| Sage Version 4.8, Release Date: 2012-01-20 |

| Type notebook() for the GUI, and license() for information. |

Traceback (most recent call last): File "/home/liam/SAGE/local/bin/sage-ipython", line 18, in <module> import IPython File "/home/liam/SAGE/local/lib/python2.6/site-packages/IPython/__init__.py", line 58, in <module> __import__(name,glob,loc,[]) File "/home/liam/SAGE/local/lib/python2.6/site-packages/IPython/ipstruct.py", line 17, in <module> from IPython.genutils import list2dict2 File "/home/liam/SAGE/local/lib/python2.6/site-packages/IPython/genutils.py", line 53, in <module> from IPython.external.path import path File "/home/liam/SAGE/local/lib/python2.6/site-packages/IPython/external/path.py", line 35, in <module> import md5 File "/home/liam/SAGE/local/lib/python/md5.py", line 10, in <module> from hashlib import md5 File "/home/liam/SAGE/local/lib/python/hashlib.py", line 136, in <module> md5 = __get_builtin_constructor('md5') File "/home/liam/SAGE/local/lib/python/hashlib.py", line 63, in __get_builtin_constructor import _md5 ImportError: No module named _md5

So I think I don't have some package installed. However I'm not sure which to install, and it might not even be that that is the problem! Can you help me please?

edit retag flag offensive close merge delete

Comments

1

Can you give us your *exact* specs for the machine and OS? It sounds like there is something that didn't get built on this binary that it assumes is on the system (not system Python, hopefully) and there could be some mismatch between the binary and your machine.

kcrisman gravatar imagekcrisman ( 2012-04-16 09:56:50 +0100 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2012-04-17 15:07:38 +0100

Volker Braun gravatar image

Either recompile from source or install the ssl library:

sudo apt-get install libssl libssl-dev
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-04-16 09:20:31 +0100

Seen: 843 times

Last updated: Apr 17 '12