Ask Your Question

md5 module not found

asked 2012-04-16 02:20:31 -0500

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/", line 58, in <module> __import__(name,glob,loc,[]) File "/home/liam/SAGE/local/lib/python2.6/site-packages/IPython/", line 17, in <module> from IPython.genutils import list2dict2 File "/home/liam/SAGE/local/lib/python2.6/site-packages/IPython/", line 53, in <module> from IPython.external.path import path File "/home/liam/SAGE/local/lib/python2.6/site-packages/IPython/external/", line 35, in <module> import md5 File "/home/liam/SAGE/local/lib/python/", line 10, in <module> from hashlib import md5 File "/home/liam/SAGE/local/lib/python/", line 136, in <module> md5 = __get_builtin_constructor('md5') File "/home/liam/SAGE/local/lib/python/", 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



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 02:56:50 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2012-04-17 08:07:38 -0500

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


Asked: 2012-04-16 02:20:31 -0500

Seen: 449 times

Last updated: Apr 17 '12