这种情况尤其发生在已经安装此软件包的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/为什么即使我安装了所需的软件包也会收到这个错误
发布于 2019-06-21 16:55:24
对于Debian
sudo apt-get install libxmlsec1-dev pkg-config试试这个,它会起作用的!
对于RHEL
sudo yum install xmlsec1-devel pkg-config对于MacOS
brew install Libxmlsec1
brew install pkg-confighttps://stackoverflow.com/questions/51795089
复制相似问题