Jikku Jose
Jikku Jose

Reputation: 18804

Python/OpenSSL issue: ERROR:root:code for hash md5 was not found

This error occurred while installing latest Ruby using ruby-install.

What I tried:

brew switch openssl <my_version>

brew upgrade openssl

And many other solutions that were proposed in SO. None solved my problem.

Upvotes: 0

Views: 296

Answers (2)

Slaven Tomac
Slaven Tomac

Reputation: 1550

So the problem is actually coming that python2 is not supported, but you can solve it by installing just correct openssl via brew, e.g.

brew install [email protected]

Upvotes: 0

Jikku Jose
Jikku Jose

Reputation: 18804

Though there were a lot of similar questions floating around in SO, I think none of them were able to solve my issue. Thought of adding this question with the fix that solved it for me. I got it from a medium post:

Since Python 2 End of Life Announced as January 1st 2020 as well as brew no longer support python 2. The solution is uninstall the package.

brew uninstall python@2

Upvotes: 1

Related Questions