Cannot install pipenv

Hi, I am on CS path and currently on Python: Modules, I tried following this lecture https://www.codecademy.com/paths/computer-science/tracks/cspath-cs-101/modules/cspath-modules/articles/learn-python-pipenv about installing pipenv but I keep getting this error. Do you have any solution?

Thanks

This error is happening because macOS decided to drop OpenSSL and switched to LibreSSL. Try the following:

brew update && brew upgrade
brew uninstall --ignore-dependencies openssl; brew install https://github.com/tebelorg/Tump/releases/download/v1.0.0/openssl.rb

If that doesn’t work, you can also try:

brew reinstall python

Let me know how it turns out.

Good luck!

1 Like