600字范文,内容丰富有趣,生活中的好帮手!
600字范文 > python错误修复方法_python常见异常及解决方法

python错误修复方法_python常见异常及解决方法

时间:2023-11-07 01:54:29

相关推荐

python错误修复方法_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

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)

解决方法:

sudo yum install openssl098e

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

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。