安装plone时不受支持的哈希类型 [英] unsupported hash type when installing plone

查看:121
本文介绍了安装plone时不受支持的哈希类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试安装 plone ,但是运行脚本install.sh时出现问题.错误详细信息如下:

I tried to install plone but I have a problem when I run the script install.sh. Here are the errors details:

raise ValueError('unsupported hash type %s' % name)
ValueError: unsupported hash type sha256
ERROR:root:code for hash sha384 was not found
ValueError: unsupported hash type sha512

我在一个论坛上读到,该错误可能是由与操作系统上的python版本不兼容的Plone版本引起的.但是,这是plone官方网站上所说的话:

I read in a forum that this error may be caused by a version of Plone which is not compatible with the python version that is on the OS. But, here is what is said on the official website of plone:

Plone Unified Installer是用于安装的源安装工具包 在大多数类Unix平台上,Plone及其依赖项均来自源代码.这 该工具包包括Plone,Zope和Python. Python的安装方式 不会更改或干扰您的系统Python.

The Plone Unified Installer is a source-installation kit that installs Plone and its dependencies from source on most Unix-like platforms. The kit includes Plone, Zope and Python. Python is installed in a way that will not change or interfere with your system Python.

所以我不知道如何解决这个问题.

So I don't know how to solve the problem.

推荐答案

这不是仅克隆问题.

Python将OpenSSL用于 hashlib模块,并且系统上的OpenSSL库不提供功能它需要的. 通常应该默认存在sha256,sha384和sha512算法,但它们不在您的系统上,并且/或者python被链接到错误的系统库.

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.

如何解决此问题取决于您的OS,但您没有提供任何详细信息.您可以检查安装程序的要求列表,然后仔细检查是否拥有所需的一切.

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.

这篇关于安装plone时不受支持的哈希类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆