unsupported hash type when installing plone

Deadly 提交于 2019-12-01 08:23:55

This is not a Plone-only problem.

Python uses OpenSSL for the hashlib module, and the OpenSSL libraries on your system do not provide functions that it needs. Normally the sha256, sha384 and sha512 algorithms are supposed to be present by default but they are not on your system, and/or python is being linked to the wrong system libraries.

How to solve this depends on your OS, for which you didn't provide any details. You could check the list of requirements for the installer and doublecheck you have everything you need.

As @Martijn has explained, openssl does not have the required hash functions. So, uninstalled it and use other library, for instance libressl. I did the following and it worked on Mac El Capitan:

   brew uninstall openssl@1.1
   brew install libressl
   brew uninstall python2
   brew install python2
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!