python常见异常及解决方法

异常1:

ValueError: unsupported hash type sha224

ERROR:root:code for hash sha256 was not found.

Traceback (most recent call last):

File "/home/admin/Python/lib/python2.7/hashlib.py", line 139, in <module>

globals()[__func_name] = __get_hash(__func_name)

File "/home/admin/Python/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor

raise ValueError('unsupported hash type ' + name)

python常见异常及解决方法

解决方法:

sudo yum install openssl098e

我装了openssl-1.0.1s也不行,一定要装openssl098e

上一篇:26_Json_Example


下一篇:ExtJS5搭建MVVM框架