ERROR:root:code for hash md5 was not found

Steven D'Aprano steve+comp.lang.python at pearwood.info
Thu Jan 12 22:34:41 EST 2012


On Wed, 11 Jan 2012 22:13:16 -0800, mike wrote:
[...]
> esekilx5030 [7:09am] [roamFroBl/pysibelius/bin] -> python Python 2.7.2
> (default, Jun 16 2011, 15:05:49) [GCC 4.5.0] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import sys
> print(sys.version)
> import hashlib
> print(hashlib.__file__)
> print(hashlib.md5)
> import _md5
> print(_md5.__file__) >>> 2.7.2 (default, Jun 16 2011, 15:05:49) [GCC
> 4.5.0]
>>>> ERROR:root:code for hash md5 was not found.
> Traceback (most recent call last):
>   File "/vobs/rnc/rrt/roam1/roamSs/roamFroBl/python/lib/python2.7/
> hashlib.py", line 139, in <module>
>     globals()[__func_name] = __get_hash(__func_name)
>   File "/vobs/rnc/rrt/roam1/roamSs/roamFroBl/python/lib/python2.7/
> hashlib.py", line 91, in __get_builtin_constructor
>     raise ValueError('unsupported hash type %s' % name)


It looks like pysibelius comes with its own Python installation, which is 
*seriously* broken.

What is pysibelius? I can't find it on the web. Does it have anything to 
do with Sibelius the music composition software?

It looks like the installation you are trying to use is missing modules. 
You might need to consult the pysibelius forums or mailing lists, if they 
have any, or the author, or possibly re-install it and see if the problem 
goes away.



-- 
Steven



More information about the Python-list mailing list