How to fix “ERROR:root:code for hash md5 was not found.” when using autojump on macOS
Solution 1:
The problem is that python2 was EOL since Jan 1st, 2020.
On the other hand, brew
no longer support python@2
as well. (https://stackoverflow.com/questions/60229970/aws-cli-errorrootcode-for-hash-md5-was-not-found, https://stackoverflow.com/questions/60298514/brew-reinstalling-python2)
trying to uninstall python2 with brew uninstall python@2
is an option.
$ brew uninstall python@2
Uninstalling /usr/local/Cellar/python@2/2.7.15_1... (4,169 files, 76.0MB)
Solution 2:
What solved for me was linking openssl back to 1.02 to make python2.7 working again. Check if openssl 1.0.2 is intalled:
ls /usr/local/Cellar/openssl
which should show: 1.0.2r
Now link openssl to 1.0.2r:
brew switch openssl 1.0.2r