使用任何hg mercurial命令时,“找不到哈希md5的ERROR:root:code”

使用任何hg mercurial命令时,“找不到哈希md5的ERROR:root:code”,第1张

使用任何hg mercurial命令时,“找不到哈希md5的ERROR:root:code”

brew reinstall python@2
对于我现有的Python 2.7虚拟环境,运行不起作用。在他们里面仍然有
ERROR:root:prefor hash sha1 was not found
错误。

我跑步后遇到了这个问题

brew upgrade openssl
。解决方法是:

$ ls /usr/local/Cellar/openssl

…这表现

1.0.2t

根据现有版本,运行:

$ brew switch openssl 1.0.2t

…这表现了

Cleaning /usr/local/Cellar/openssl/1.0.2tOpt link created for /usr/local/Cellar/openssl/1.0.2t

之后,在Python 2.7 virtualenv中运行以下命令:

(my-venv) $ python -c "import hashlib;m=hashlib.md5();print(m.hexdigest())"

…这表现了

d41d8cd98f00b204e9800998ecf8427e

没有更多的错误。



欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/zaji/5644697.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-12-16
下一篇2022-12-16

发表评论

登录后才能评论

评论列表(0条)

    保存