Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

ImportError: cannot import name md5

Info about my machine:

Linux my.box.net 3.4.6-2.fc17.x86_64 #1 SMP Thu Jul 19 22:54:16 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

Linux version 3.4.6-2.fc17.x86_64 (mockbuild@buildvm-09.phx2.fedoraproject.org) (gcc version 4.7.0 20120507 (Red Hat 4.7.0-5) (GCC) ) #1 SMP Thu Jul 19 22:54:16 UTC 2012

Fedora release 17 (Beefy Miracle)

OpenSSL 1.0.0j-fips 10 May 2012

The version of sage I am trying to run:

sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux

========================================

What happens when I run it:

# ./sage

| Sage Version 5.1, Release Date: 2012-07-09 | | Type "notebook()" for the browser-based notebook interface. |

| Type "help()" for help. |

ERROR:root:code for hash md5 was not found. Traceback (most recent call last): File "/opt/sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/lib/python/hashlib.py", line 139, in <module> globals()[__func_name] = __get_hash(__func_name) File "/opt/sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/lib/python/hashlib.py", line 91, in __get_builtin_constructor raise ValueError('unsupported hash type %s' % name) ValueError: unsupported hash type md5 ERROR:root:code for hash sha1 was not found. Traceback (most recent call last): File "/opt/sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/lib/python/hashlib.py", line 139, in <module> globals()[__func_name] = __get_hash(__func_name) File "/opt/sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/lib/python/hashlib.py", line 91, in __get_builtin_constructor raise ValueError('unsupported hash type %s' % name) ValueError: unsupported hash type sha1 ERROR:root:code for hash sha224 was not found. Traceback (most recent call last): File "/opt/sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/lib/python/hashlib.py", line 139, in <module> globals()[__func_name] = __get_hash(__func_name) File "/opt/sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/lib/python/hashlib.py", line 91, in __get_builtin_constructor raise ValueError('unsupported hash type %s' % name) ValueError: unsupported hash type sha224 ERROR:root:code for hash sha256 was not found. Traceback (most recent call last): File "/opt/sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/lib/python/hashlib.py", line 139, in <module> globals()[__func_name] = __get_hash(__func_name) File "/opt/sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/lib/python/hashlib.py", line 91, in __get_builtin_constructor raise ValueError('unsupported hash type %s' % name) ValueError: unsupported hash type sha256 ERROR:root:code for hash sha384 was not found. Traceback (most recent call last): File "/opt/sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/lib/python/hashlib.py", line 139, in <module> globals()[__func_name] = __get_hash(__func_name) File "/opt/sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/lib/python/hashlib.py", line 91, in __get_builtin_constructor raise ValueError('unsupported hash type %s' % name) ValueError: unsupported hash type sha384 ERROR:root:code for hash sha512 was not found. Traceback (most recent call last): File "/opt/sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/lib/python/hashlib.py", line 139, in <module> globals()[__func_name] = __get_hash(__func_name) File "/opt/sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/lib/python/hashlib.py", line 91, in __get_builtin_constructor raise ValueError('unsupported hash type %s' % name) ValueError: unsupported hash type sha512 Traceback (most recent call last): File "/opt/sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/bin/sage-ipython", line 18, in <module> import IPython File "/opt/sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/lib/python2.7/site-packages/IPython/__init__.py", line 58, in <module> __import__(name,glob,loc,[]) File "/opt/sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/lib/python2.7/site-packages/IPython/ipstruct.py", line 17, in <module> from IPython.genutils import list2dict2 File "/opt/sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/lib/python2.7/site-packages/IPython/genutils.py", line 53, in <module> from IPython.external.path import path File "/opt/sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/lib/python2.7/site-packages/IPython/external/path.py", line 35, in <module> import md5 File "/opt/sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/lib/python/md5.py", line 10, in <module> from hashlib import md5 ImportError: cannot import name md5

ImportError: cannot import name md5

Info about my machine:

Linux my.box.net 3.4.6-2.fc17.x86_64 #1 SMP Thu Jul 19 22:54:16 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

Linux version 3.4.6-2.fc17.x86_64 (mockbuild@buildvm-09.phx2.fedoraproject.org) (gcc version 4.7.0 20120507 (Red Hat 4.7.0-5) (GCC) ) #1 SMP Thu Jul 19 22:54:16 UTC 2012

Fedora release 17 (Beefy Miracle)

OpenSSL 1.0.0j-fips 10 May 2012

========================================

The version of sage I am trying to run:

sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux

========================================

What happens when I run it:

# ./sage


| Sage Version 5.1, Release Date: 2012-07-09 | | Type "notebook()" for the browser-based notebook interface. |

| | Type "help()" for help. |

| ---------------------------------------------------------------------- ERROR:root:code for hash md5 was not found. Traceback (most recent call last): File "/opt/sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/lib/python/hashlib.py", line 139, in <module> globals()[__func_name] = __get_hash(__func_name) File "/opt/sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/lib/python/hashlib.py", line 91, in __get_builtin_constructor raise ValueError('unsupported hash type %s' % name) ValueError: unsupported hash type md5 ERROR:root:code for hash sha1 was not found. Traceback (most recent call last): File "/opt/sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/lib/python/hashlib.py", line 139, in <module> globals()[__func_name] = __get_hash(__func_name) File "/opt/sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/lib/python/hashlib.py", line 91, in __get_builtin_constructor raise ValueError('unsupported hash type %s' % name) ValueError: unsupported hash type sha1 ERROR:root:code for hash sha224 was not found. Traceback (most recent call last): File "/opt/sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/lib/python/hashlib.py", line 139, in <module> globals()[__func_name] = __get_hash(__func_name) File "/opt/sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/lib/python/hashlib.py", line 91, in __get_builtin_constructor raise ValueError('unsupported hash type %s' % name) ValueError: unsupported hash type sha224 ERROR:root:code for hash sha256 was not found. Traceback (most recent call last): File "/opt/sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/lib/python/hashlib.py", line 139, in <module> globals()[__func_name] = __get_hash(__func_name) File "/opt/sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/lib/python/hashlib.py", line 91, in __get_builtin_constructor raise ValueError('unsupported hash type %s' % name) ValueError: unsupported hash type sha256 ERROR:root:code for hash sha384 was not found. Traceback (most recent call last): File "/opt/sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/lib/python/hashlib.py", line 139, in <module> globals()[__func_name] = __get_hash(__func_name) File "/opt/sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/lib/python/hashlib.py", line 91, in __get_builtin_constructor raise ValueError('unsupported hash type %s' % name) ValueError: unsupported hash type sha384 ERROR:root:code for hash sha512 was not found. Traceback (most recent call last): File "/opt/sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/lib/python/hashlib.py", line 139, in <module> globals()[__func_name] = __get_hash(__func_name) File "/opt/sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/lib/python/hashlib.py", line 91, in __get_builtin_constructor raise ValueError('unsupported hash type %s' % name) ValueError: unsupported hash type sha512 Traceback (most recent call last): File "/opt/sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/bin/sage-ipython", line 18, in <module> import IPython File "/opt/sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/lib/python2.7/site-packages/IPython/__init__.py", line 58, in <module> __import__(name,glob,loc,[]) File "/opt/sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/lib/python2.7/site-packages/IPython/ipstruct.py", line 17, in <module> from IPython.genutils import list2dict2 File "/opt/sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/lib/python2.7/site-packages/IPython/genutils.py", line 53, in <module> from IPython.external.path import path File "/opt/sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/lib/python2.7/site-packages/IPython/external/path.py", line 35, in <module> import md5 File "/opt/sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/lib/python/md5.py", line 10, in <module> from hashlib import md5 ImportError: cannot import name md5

ImportError: cannot import name md5

Info about my machine:

Linux my.box.net 3.4.6-2.fc17.x86_64 #1 SMP Thu Jul 19 22:54:16 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

Linux version 3.4.6-2.fc17.x86_64 (mockbuild@buildvm-09.phx2.fedoraproject.org) (gcc version 4.7.0 20120507 (Red Hat 4.7.0-5) (GCC) ) #1 SMP Thu Jul 19 22:54:16 UTC 2012

Fedora release 17 (Beefy Miracle)

OpenSSL 1.0.0j-fips 10 May 2012

========================================

The version of sage I am trying to run:

sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux

========================================

What happens when I run it:

# ./sage


./sage ---------------------------------------------------------------------- | Sage Version 5.1, Release Date: 2012-07-09 | | Type "notebook()" for the browser-based notebook interface. | | Type "help()" for help. | ---------------------------------------------------------------------- ---------------------------------------------------------------------- ERROR:root:code for hash md5 was not found. Traceback (most recent call last): File "/opt/sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/lib/python/hashlib.py", line 139, in <module> globals()[__func_name] = __get_hash(__func_name) File "/opt/sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/lib/python/hashlib.py", line 91, in __get_builtin_constructor raise ValueError('unsupported hash type %s' % name) ValueError: unsupported hash type md5 ERROR:root:code for hash sha1 was not found. Traceback (most recent call last): File "/opt/sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/lib/python/hashlib.py", line 139, in <module> globals()[__func_name] = __get_hash(__func_name) File "/opt/sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/lib/python/hashlib.py", line 91, in __get_builtin_constructor raise ValueError('unsupported hash type %s' % name) ValueError: unsupported hash type sha1 ERROR:root:code for hash sha224 was not found. Traceback (most recent call last): File "/opt/sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/lib/python/hashlib.py", line 139, in <module> globals()[__func_name] = __get_hash(__func_name) File "/opt/sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/lib/python/hashlib.py", line 91, in __get_builtin_constructor raise ValueError('unsupported hash type %s' % name) ValueError: unsupported hash type sha224 ERROR:root:code for hash sha256 was not found. Traceback (most recent call last): File "/opt/sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/lib/python/hashlib.py", line 139, in <module> globals()[__func_name] = __get_hash(__func_name) File "/opt/sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/lib/python/hashlib.py", line 91, in __get_builtin_constructor raise ValueError('unsupported hash type %s' % name) ValueError: unsupported hash type sha256 ERROR:root:code for hash sha384 was not found. Traceback (most recent call last): File "/opt/sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/lib/python/hashlib.py", line 139, in <module> globals()[__func_name] = __get_hash(__func_name) File "/opt/sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/lib/python/hashlib.py", line 91, in __get_builtin_constructor raise ValueError('unsupported hash type %s' % name) ValueError: unsupported hash type sha384 ERROR:root:code for hash sha512 was not found. Traceback (most recent call last): File "/opt/sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/lib/python/hashlib.py", line 139, in <module> globals()[__func_name] = __get_hash(__func_name) File "/opt/sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/lib/python/hashlib.py", line 91, in __get_builtin_constructor raise ValueError('unsupported hash type %s' % name) ValueError: unsupported hash type sha512 Traceback (most recent call last): File "/opt/sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/bin/sage-ipython", line 18, in <module> import IPython File "/opt/sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/lib/python2.7/site-packages/IPython/__init__.py", line 58, in <module> __import__(name,glob,loc,[]) File "/opt/sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/lib/python2.7/site-packages/IPython/ipstruct.py", line 17, in <module> from IPython.genutils import list2dict2 File "/opt/sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/lib/python2.7/site-packages/IPython/genutils.py", line 53, in <module> from IPython.external.path import path File "/opt/sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/lib/python2.7/site-packages/IPython/external/path.py", line 35, in <module> import md5 File "/opt/sage-5.1-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/lib/python/md5.py", line 10, in <module> from hashlib import md5 ImportError: cannot import name md5

md5