找不到xmlsec1配置。是否安装了libxmlsec1-dev和pkg-config?

时间:2018-08-10 23:20:59

标签: python-3.x rhel7 xmlsec1

这在RHEL上尤其如此 已经安装了此软件包yum install libxml2-devel xmlsec1-devel xmlsec1-openssl-devel libtool-ltdl-devel

Could not find xmlsec1 config. Are libxmlsec1-dev and pkg-config installed


Command "/usr/local/pyenv/versions/3.6.5/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-ucm4xpg5/xmlsec/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-gr0ttbdf/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-ucm4xpg5/xmlsec/

即使安装了必需的软件包,为什么也会出现此错误

1 个答案:

答案 0 :(得分:1)

sudo apt-get install libxmlsec1-dev pkg-config

尝试一下,它将起作用!