Error importing hashlib with python 2.7 but not with 2.6
I'm on Solaris 10 (x86). Until now, I was using python2.6. Today, I installed python2.7 and I have a weird error occuring when importing hashlib on 2.7, but not on 2.6: Python 2.6: root@myserver [PROD] # python2.6 -c "import hashlib" root@myserver [PROD] # Python 2.7: root@myserver [PROD] # python2.7 -c "import hashlib" ERROR:root:code for hash md5 was not found. Traceback (most recent call last): File "/usr/local/lib/python2.7/hashlib.py", line 139, in <module> globals()[__func_name] = __get_hash(__func_name) File "/usr/local/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor