错误:找不到匹配项:xmlsec1-devel xmlsec1-openssl-devel在AlmaLinux:8上



在AlmaLinux:上安装xmlsec时出现以下错误

#15 92.42   Building wheel for xmlsec (PEP 517): started
#15 92.65   Building wheel for xmlsec (PEP 517): finished with status 'error'
#15 92.65   ERROR: Command errored out with exit status 1:
#15 92.65    command: /usr/local/bin/python /opt/python2.7/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmpKVierb
#15 92.65        cwd: /tmp/pip-install-8achWY/xmlsec
#15 92.65   Complete output (14 lines):
#15 92.65   running bdist_wheel
#15 92.65   running build
#15 92.65   running build_py
#15 92.65   package init file 'src/xmlsec/__init__.py' not found (or not a regular file)
#15 92.65   creating build
#15 92.65   creating build/lib.linux-x86_64-2.7
#15 92.65   creating build/lib.linux-x86_64-2.7/xmlsec
#15 92.65   copying src/xmlsec/py.typed -> build/lib.linux-x86_64-2.7/xmlsec
#15 92.65   copying src/xmlsec/constants.pyi -> build/lib.linux-x86_64-2.7/xmlsec
#15 92.65   copying src/xmlsec/__init__.pyi -> build/lib.linux-x86_64-2.7/xmlsec
#15 92.65   copying src/xmlsec/template.pyi -> build/lib.linux-x86_64-2.7/xmlsec
#15 92.65   copying src/xmlsec/tree.pyi -> build/lib.linux-x86_64-2.7/xmlsec
#15 92.65   running build_ext
#15 92.65   error: xmlsec1 is not installed or not in path.
#15 92.65   ----------------------------------------
#15 92.65   ERROR: Failed building wheel for xmlsec

#15 93.86构建xmlsec失败#15 93.86错误:无法为使用PEP 517的xmlsec构建轮子,也无法直接安装

由于alma是二进制兼容的,可以执行以下操作:dnf安装-yhttps://vault.centos.org/centos/8/PowerTools/x86_64/os/Packages/xmlsec1-devel-1.2.25-4.el8.x86_64.rpm\

最新更新