修改hmac文件:
vi /opt/python/lib/python3.11/hmac.py
修改:
return HMAC(key, msg, digestmod)
为:
return HMAC(key, msg, digestmod='SHA256')
故障解决。
修改hmac文件:
vi /opt/python/lib/python3.11/hmac.py
修改:
return HMAC(key, msg, digestmod)
为:
return HMAC(key, msg, digestmod='SHA256')
故障解决。
本文为原创文章,转载请注明出处。
原文链接:https://850406.xyz/post/hmac报错missing-required-parameter-digestmod-的解决办法
评论(0)
还没有评论,来抢沙发吧~